@@ -156,48 +156,53 @@ const Index = () => {
156156
157157 const tabConfig = [
158158 { value : "timeline" , label : "Today" , Icon : CalendarDays } ,
159- { value : "calendar" , label : "Calendar" , Icon : CalendarIcon } ,
160159 { value : "summary" , label : "Summary" , Icon : TrendingUp } ,
160+ { value : "calendar" , label : "Calendar" , Icon : CalendarIcon } ,
161161 ] as const ;
162162
163163 return (
164164 < TooltipProvider >
165165 < Sonner />
166166 < ReminderSystem />
167167 < div className = "min-h-screen px-4 pb-16 pt-10 sm:px-6 lg:px-8" >
168+ { /* App name in top-left */ }
169+ < header className = "mx-auto mb-6 flex max-w-6xl items-center" >
170+ < span className = "text-lg font-semibold tracking-tight text-slate-700" >
171+ Lifeline-
172+ </ span >
173+ </ header >
174+
168175 < main className = "mx-auto flex max-w-6xl flex-col gap-8" >
169176 < Tabs defaultValue = "timeline" className = "space-y-8" >
170- { /* HERO (plain; no glass wrapper) */ }
171- < div className = "flex flex-col gap-2" >
172- < div className = "space-y-0" >
173- < span className = "text-lg font-semibold tracking-tight text-slate-700" > Lifeline-</ span >
174- < h1 className = "font-semibold text-[44px] leading-[1.05] text-[#0F1729] sm:text-[64px]" >
175- Welcome Back
176- </ h1 >
177- < p className = "text-lg text-slate-600" >
178- See what’s happening across your health: daily updates to your complete health picture.
179- </ p >
180- </ div >
177+ { /* HERO (now only Welcome Back + subtitle) */ }
178+ < div className = "space-y-1" >
179+ < h1 className = "font-semibold text-[44px] leading-[1.05] text-[#0F1729] sm:text-[64px]" >
180+ Welcome Back
181+ </ h1 >
182+ < p className = "text-lg text-slate-600" >
183+ See what’s happening across your health: daily updates to your complete health picture.
184+ </ p >
181185 </ div >
182186
183- < div className = "flex items-center justify-between" >
184- { /* Segmented tabs (compact) */ }
185- < TabsList className = "mt-1 inline-flex rounded-lg bg-white/70 p-1 ring-1 ring-black/5 shadow-sm backdrop-blur" >
187+ < div className = "flex items-center justify-between gap-4 " >
188+ { /* equal-width segmented control */ }
189+ < TabsList className = "mt-1 inline-flex w-full max-w-md rounded-full bg-white/70 p-1 ring-1 ring-black/5 shadow-sm backdrop-blur" >
186190 { tabConfig . map ( ( { value, label, Icon } ) => (
187191 < TabsTrigger
188192 key = { value }
189193 value = { value }
190- className = "flex items-center gap-2 rounded-md px-4 py-2 text-sm font-medium text-slate-600 transition
191- data-[state=active]:bg-white data-[state=active]:text-slate-900 data-[state=active]:shadow"
194+ className = "flex flex-1 items-center justify-center gap-2 rounded-full px-4 py-2 text-sm font-medium text-slate-600 transition
195+ data-[state=active]:bg-white data-[state=active]:text-slate-900 data-[state=active]:shadow"
192196 >
193197 < Icon className = "h-4 w-4" />
194198 { label }
195199 </ TabsTrigger >
196200 ) ) }
197201 </ TabsList >
202+
198203 < AddEntryDialog
199204 onAddEntry = { handleAddEntry }
200- buttonClassName = "rounded-lg bg-slate-900 px-5 py-2.5 text-sm font-semibold text-white shadow-lg transition hover:bg-slate-900/90"
205+ buttonClassName = "rounded-full bg-slate-900 px-5 py-2.5 text-sm font-semibold text-white shadow-lg transition hover:bg-slate-900/90"
201206 />
202207 </ div >
203208
@@ -243,21 +248,38 @@ const Index = () => {
243248 </ TabsContent >
244249
245250 < TabsContent value = "summary" >
246- < section className = "rounded-xl border border-white/60 bg-white/80 p-6 shadow-[0_25px_60px_rgba(15,23,42,0.08)] backdrop-blur" > < SummaryCard entries = { entries } />
251+ < section className = "rounded-3xl border border-white/50 bg-white/40 p-8 shadow-[0_30px_70px_rgba(88,80,236,0.22)] backdrop-blur" >
252+ < SummaryCard entries = { entries } />
247253 </ section >
248254 </ TabsContent >
249255
250256 < TabsContent value = "calendar" >
251- < section className = "grid grid-cols-1 gap-8 lg:grid-cols-3" >
252- < div className = "lg:col-span-1" >
257+ < section className = "grid gap-8 rounded-3xl border border-white/50 bg-white/40 p-8 shadow-[0_30px_70px_rgba(88,80,236,0.22)] backdrop-blur lg:grid-cols-[1.1fr,2fr]" >
258+ { /* Calendar column */ }
259+ < div className = "flex items-start justify-center" >
253260 < Calendar
254261 mode = "single"
255262 selected = { selectedDate }
256263 onSelect = { ( date ) => date && setSelectedDate ( date ) }
257- className = "rounded-xl border bg-card"
264+ className = "w-full max-w-xs rounded-2xl border border-white/60 bg-white/80 p-4 shadow-[0_18px_40px_rgba(15,23,42,0.09)] backdrop-blur-sm"
265+ classNames = { {
266+ months : "space-y-4" ,
267+ caption : "flex justify-center pt-1 pb-4" ,
268+ head_row : "flex" ,
269+ head_cell : "w-9 text-xs font-medium text-slate-500" ,
270+ row : "mt-1 flex w-full" ,
271+ cell : "relative h-9 w-9" ,
272+ day : "h-9 w-9 rounded-full text-sm font-medium text-slate-600 hover:bg-slate-100 focus:outline-none" ,
273+ day_selected :
274+ "h-9 w-9 rounded-full bg-slate-900 text-white hover:bg-slate-900 hover:text-white focus:outline-none" ,
275+ day_today : "border border-slate-300 text-slate-900" ,
276+ day_outside : "text-slate-300" ,
277+ } }
258278 />
259279 </ div >
260- < div className = "lg:col-span-2" >
280+
281+ { /* Right column: entries for selected date */ }
282+ < div className = "lg:col-span-1" >
261283 < div className = "space-y-1" >
262284 < h2 className = "text-2xl font-semibold text-slate-900" > { friendlyDate } </ h2 >
263285 </ div >
@@ -274,8 +296,8 @@ const Index = () => {
274296 />
275297 ) )
276298 ) : (
277- < div className = "rounded-xl border bg-card p-6 text-center" >
278- < p className = "font-semibold text-foreground " > No entries for this day.</ p >
299+ < div className = "rounded-xl border border-white/60 bg-white/80 p-6 text-center shadow-[0_14px_36px_rgba(15,23,42,0.08)] " >
300+ < p className = "font-semibold text-slate-800 " > No entries for this day.</ p >
279301 </ div >
280302 ) }
281303 </ div >
@@ -287,7 +309,7 @@ const Index = () => {
287309
288310 < ChatbotWidget />
289311 </ div >
290- </ TooltipProvider >
312+ </ TooltipProvider >
291313 ) ;
292314} ;
293315
0 commit comments