diff --git a/maternal-web/app/page.tsx b/maternal-web/app/page.tsx index cc38151..32bb9c1 100644 --- a/maternal-web/app/page.tsx +++ b/maternal-web/app/page.tsx @@ -131,11 +131,17 @@ export default function HomePage() { initial={{ opacity: 0, scale: 0.9 }} animate={{ opacity: 1, scale: 1 }} transition={{ duration: 0.3, delay: index * 0.1 }} + style={{ height: '100%' }} > router.push(action.path)} sx={{ p: 3, + height: '100%', + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + justifyContent: 'center', textAlign: 'center', cursor: 'pointer', bgcolor: action.color, @@ -179,7 +185,16 @@ export default function HomePage() { ) : ( - + {dailySummary.feedingCount || 0} @@ -190,7 +205,16 @@ export default function HomePage() { - + {dailySummary.sleepTotalMinutes @@ -203,7 +227,16 @@ export default function HomePage() { - + {dailySummary.diaperCount || 0} @@ -214,7 +247,16 @@ export default function HomePage() { - + {dailySummary.medicationCount || 0}