Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import type { MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
export function getEmptyStateCopy({
isOnboarding,
isEmbedded,
}: {
isOnboarding: boolean;
isEmbedded: boolean;
}): { title: MessageDescriptor; subtitle: MessageDescriptor } {
if (isOnboarding) {
return {
title: msg`What would you like to create?`,
subtitle: isEmbedded
? msg`Copy a prompt and paste it into your agent to set up your project.`
: msg`Describe what you're working on and the agent sets it up for you.`,
};
}
return {
title: msg`Create something great.`,
subtitle: isEmbedded
? msg`Copy a prompt for your agent, start a blank file, or scaffold from a template.`
: msg`Describe what you want to build, start a blank file, or scaffold from a template.`,
};
}