From 36debd85027e85b3daf8d47d896539948244fcc9 Mon Sep 17 00:00:00 2001 From: Manmohan Sharma Date: Thu, 16 Apr 2026 14:03:55 -0700 Subject: [PATCH] fix(frontend): redesign landing and chat pages for warm, premium look Landing page: warm gradient background, illustrations flanking hero text (180-220px), new tagline, features section with 3 cards, footer updated to "Built by Manmohan", gold CTA and nav buttons, toran moved to hero. Chat page: removed "Chat Completions" header, added samosa logo and bigger suggestion cards to empty state, sidebar empty state message, input area top border/shadow, more prominent new chat button. Co-Authored-By: Claude Opus 4.6 (1M context) --- services/frontend/app/page.tsx | 20 +-- .../frontend/components/LandingFooter.tsx | 11 +- services/frontend/components/LandingNav.tsx | 9 +- .../frontend/components/chat/ChatInput.tsx | 2 +- .../frontend/components/chat/ChatWindow.tsx | 5 +- .../frontend/components/chat/EmptyState.tsx | 61 ++++++--- services/frontend/components/chat/Sidebar.tsx | 88 +++++++------ .../frontend/components/landing/Features.tsx | 40 ++++++ services/frontend/components/landing/Hero.tsx | 117 +++++++++++------- .../components/landing/Illustrations.tsx | 28 +---- 10 files changed, 231 insertions(+), 150 deletions(-) create mode 100644 services/frontend/components/landing/Features.tsx diff --git a/services/frontend/app/page.tsx b/services/frontend/app/page.tsx index 1a727dc0..9d979a3e 100644 --- a/services/frontend/app/page.tsx +++ b/services/frontend/app/page.tsx @@ -1,18 +1,24 @@ import LandingNav from '@/components/LandingNav'; import LandingFooter from '@/components/LandingFooter'; import Hero from '@/components/landing/Hero'; -import { SamosaIllustration, KettleIllustration } from '@/components/landing/Illustrations'; +import Features from '@/components/landing/Features'; import Doodles from '@/components/svg/Doodles'; export default function LandingPage() { return ( -
- +
- - - -
+ + {/* Hero section: full viewport height with warm gradient */} +
+ + +
+ + {/* Features section */} + + + {/* Footer */}
); diff --git a/services/frontend/components/LandingFooter.tsx b/services/frontend/components/LandingFooter.tsx index 9912626c..e446ede3 100644 --- a/services/frontend/components/LandingFooter.tsx +++ b/services/frontend/components/LandingFooter.tsx @@ -3,16 +3,7 @@ export default function LandingFooter() {
© 2026 samosachaat.art · Crafted with care. For India, from India. - Built on{' '} - - nanochat - {' '} - by Andrej Karpathy + Built by Manmohan Terms and Policies
diff --git a/services/frontend/components/LandingNav.tsx b/services/frontend/components/LandingNav.tsx index 15819145..ae402c66 100644 --- a/services/frontend/components/LandingNav.tsx +++ b/services/frontend/components/LandingNav.tsx @@ -1,7 +1,6 @@ 'use client'; import Link from 'next/link'; -import ToranSvg from './svg/ToranSvg'; import { useAuth } from '@/hooks/useAuth'; export default function LandingNav() { @@ -27,10 +26,6 @@ export default function LandingNav() { -
- -
-
Chat ) : ( Sign in diff --git a/services/frontend/components/chat/ChatInput.tsx b/services/frontend/components/chat/ChatInput.tsx index 20db4628..ca3d0281 100644 --- a/services/frontend/components/chat/ChatInput.tsx +++ b/services/frontend/components/chat/ChatInput.tsx @@ -37,7 +37,7 @@ export default function ChatInput({ value, onChange, onSubmit, onStop, isStreami }; return ( -
+