- {[
- { 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" },
},
];