kimi-code / apps /vscode /webview-ui /src /components /WelcomeScreen.tsx
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
f59fbe2 verified
Raw History Blame Contribute Delete
587 Bytes
import { KimiMascot } from "./KimiMascot";
import { useWelcomeHint } from "@/hooks/useWelcomeHint";
export function WelcomeScreen() {
const hint = useWelcomeHint();
return (
<div className="flex flex-col items-center gap-3 px-4">
<KimiMascot className="h-12" />
{hint.component ? (
hint.component
) : (
<div className="text-center space-y-0.5">
<p className="text-xs font-medium text-foreground">{hint.title}</p>
<p className="text-xs text-muted-foreground">{hint.description}</p>
</div>
)}
</div>
);
}