diff --git a/src/routes/FoodPage.tsx b/src/routes/FoodPage.tsx index d88192e..03e27ac 100644 --- a/src/routes/FoodPage.tsx +++ b/src/routes/FoodPage.tsx @@ -42,14 +42,15 @@ export default function FoodPage() { const monthColor = (month: string) => { if (seasonMonths.includes(month)) { return { - backgroundColor: "primary.dark", + backgroundColor: "secondary.dark", color: "primary.light", boxShadow: `0 2px 4px #888888`, }; } else { return { - color: "secondary.light", + color: "primary.main", backgroundColor: "primary.light", + opacity: ".5" }; } }; @@ -57,7 +58,7 @@ export default function FoodPage() { const GridBox = styled(Box)(() => ({ width: "24%", aspectRatio: 2, - borderRadius: ".5em", + borderRadius: ".25em", display: "flex", justifyContent: "center", alignItems: "center", @@ -66,11 +67,11 @@ export default function FoodPage() { const ImgBox = styled(Box)(() => ({ position: "relative", overflow: "hidden", - borderRadius: 15, width: "15%", minWidth: 100, aspectRatio: 1, - my: 2, + mx: "0.5em", + })); const renderMonths = () => { @@ -101,13 +102,8 @@ export default function FoodPage() { /> - - {t(seasonStatus)} - - + + {t(seasonStatus)} + + - {t("FoodPage_checkMonths")} + {t("FoodPage_monthsInSeason")}