mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-18 21:57:57 +00:00
Build services/frontend/ replacing the legacy nanochat/ui.html single-file UI. Landing, login, and chat pages ported with full design system: Devanagari + Great Vibes hero, samosa/chai/toran SVG animations, gold/cream palette. - App Router pages: / (hero + floating illustrations), /login (split-screen OAuth with mandala motif), /chat (260px collapsible sidebar, suggestion chips, markdown + code-copy, auto-expanding input, slash commands) - SSE streaming via useSSE hook and /api/chat/stream BFF route (proxies to CHAT_API_URL when set, falls back to mock echo for local dev) - NextAuth.js v5 with Google + GitHub providers; middleware gates /chat/* - Zustand store with localStorage persistence for conversations/settings - Tailwind theme carries all ui.html tokens + keyframes (pendulum, float, wobble, steamFloat, steamType); SVG assets componentized under components/svg - Multi-stage node:20-alpine Dockerfile with Next standalone output Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
732 B
TypeScript
21 lines
732 B
TypeScript
export default function LandingFooter() {
|
|
return (
|
|
<footer className="flex flex-col sm:flex-row justify-between items-center gap-1 px-4 md:px-9 py-3 font-caveat text-sm text-gray-400 flex-shrink-0">
|
|
<span>© 2026 samosachaat.art · Crafted with care. For India, from India.</span>
|
|
<span className="text-xs text-gray-400">
|
|
Built on{' '}
|
|
<a
|
|
href="https://github.com/karpathy/nanochat"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="text-warm-grey hover:text-gray-600"
|
|
>
|
|
nanochat
|
|
</a>{' '}
|
|
by Andrej Karpathy
|
|
</span>
|
|
<a href="#" className="hover:text-gray-600">Terms and Policies</a>
|
|
</footer>
|
|
);
|
|
}
|