Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { Trans, useLingui } from '@lingui/react/macro';
import { TemplatesManagerSection } from './TemplatesManagerSection';
export function ProjectTemplatesSection() {
const { t } = useLingui();
return (
<TemplatesManagerSection
config={{
scope: 'local',
title: t`Project templates`,
scopeBadge: 'project',
description: (
<Trans>
Stored at <code className="font-mono">.ok/templates/</code> in this project. Available
in every folder (folder-scoped templates can override by filename).
</Trans>
),
emptyMessage: t`No project templates yet. Create one to make it available everywhere in this project. Folder-scoped templates live on each folder's overview page.`,
loadErrorTitle: t`Failed to load project templates`,
badge: { label: t`project`, variant: 'gray' },
settingsId: 'settings-project-templates-title',
testIdPrefix: 'project-templates',
}}
/>
);
}