diff --git a/src/app/activity/page.tsx b/src/app/activity/page.tsx index cc50b00..842e160 100644 --- a/src/app/activity/page.tsx +++ b/src/app/activity/page.tsx @@ -213,33 +213,28 @@ export default function ActivityPage() { {!loading && ( <> - {/* Daily summary bar */} -
-
- {[ - { icon: "🍼", label: "Feeds", count: todayCounts.feed }, - { icon: "🚼", label: "Diapers", count: todayCounts.diaper }, - { icon: "😴", label: "Sleep", count: todayCounts.sleep }, - ].map(item => ( -
- {item.icon} - {item.count} - today + {/* 4-day overview strip β€” oldest β†’ newest (left β†’ right) */} +
+ {[...last4Days].reverse().map(d => { + const isToday = d.label === "Today"; + return ( +
+

+ {d.label} +

+

πŸΌΓ—{d.feed}

+

πŸ˜΄Γ—{d.sleep}

+

πŸšΌΓ—{d.diaper}

- ))} -
-
- - {/* 4-day overview strip */} -
- {last4Days.map(d => ( -
-

{d.label}

-

πŸΌΓ—{d.feed}

-

πŸ˜΄Γ—{d.sleep}

-

πŸšΌΓ—{d.diaper}

-
- ))} + ); + })}
{/* Collapsible guidelines card */} diff --git a/src/lib/guidelines.ts b/src/lib/guidelines.ts index 5a24490..9db8067 100644 --- a/src/lib/guidelines.ts +++ b/src/lib/guidelines.ts @@ -46,26 +46,26 @@ export const guidelines: Guideline[] = [ { minAgeMonths: 9, maxAgeMonths: 12, - label: "Toddler (9-12 mo)", - feeds: { times: 3, notes: "3 meals + 2 snacks" }, - sleep: { totalHours: 12, notes: "1-2 naps/day" }, - diapers: { count: 3, notes: "May start potty training" }, + label: "Baby (9-12 mo)", + feeds: { times: 4, notes: "3 meals + 2 snacks + formula/breast milk" }, + sleep: { totalHours: 14, notes: "2 naps/day, 10-12h night" }, + diapers: { count: 4, notes: "4-6 wet diapers expected" }, }, { minAgeMonths: 12, maxAgeMonths: 18, label: "Toddler (12-18 mo)", - feeds: { times: 3, notes: "Family meals" }, - sleep: { totalHours: 11, notes: "1 nap/day" }, - diapers: { count: 3, notes: "Potty training begins" }, + feeds: { times: 3, notes: "3 meals + 2 snacks" }, + sleep: { totalHours: 13, notes: "1 nap + 11h night (11-14h total)" }, + diapers: { count: 4, notes: "4-6 wet diapers" }, }, { minAgeMonths: 18, maxAgeMonths: 24, label: "Toddler (18-24 mo)", - feeds: { times: 3, notes: "Family meals" }, - sleep: { totalHours: 11, notes: "1 nap/day" }, - diapers: { count: 2, notes: "Potty training" }, + feeds: { times: 3, notes: "3 meals + 2 snacks" }, + sleep: { totalHours: 12, notes: "1 nap + 10-11h night (11-14h total)" }, + diapers: { count: 3, notes: "3-5 wet, potty training begins" }, }, ];