diff --git a/app/page.tsx b/app/page.tsx index 9115b06..2e0c4c1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -112,13 +112,13 @@ export default async function HomePage({ searchParams }: PageProps) { 0 ? "var(--color-open-bg)" : "var(--color-surface)", + border: `1px solid ${visibleParks.length > 0 ? "var(--color-open-border)" : "var(--color-border)"}`, borderRadius: 20, - padding: "3px 10px", - fontSize: "0.7rem", - color: "var(--color-text-muted)", - fontWeight: 500, + padding: "4px 14px", + fontSize: "0.78rem", + color: visibleParks.length > 0 ? "var(--color-open-hours)" : "var(--color-text-muted)", + fontWeight: 600, }}> {visibleParks.length} of {PARKS.length} parks open diff --git a/components/ParkCard.tsx b/components/ParkCard.tsx index 2307a07..698a70f 100644 --- a/components/ParkCard.tsx +++ b/components/ParkCard.tsx @@ -90,7 +90,7 @@ export function ParkCard({ park, weekDates, parkData, today, openRideCount }: Pa fontWeight: 500, textAlign: "right", }}> - {openRideCount} open + {openRideCount} {openRideCount === 1 ? "ride" : "rides"} operating )} diff --git a/components/WeekCalendar.tsx b/components/WeekCalendar.tsx index dd0078c..8a3b8f3 100644 --- a/components/WeekCalendar.tsx +++ b/components/WeekCalendar.tsx @@ -92,8 +92,8 @@ function DayCell({ @@ -120,8 +120,8 @@ function DayCell({ }}> @@ -200,16 +200,28 @@ function ParkRow({ gap: 10, }}>
- - {park.name} - +
+ + {park.name} + + {rideCounts?.[park.id] !== undefined && ( + + )} +
{park.location.city}, {park.location.state}
{rideCounts?.[park.id] !== undefined && ( -
- {rideCounts[park.id]} open +
+ {rideCounts[park.id]} {rideCounts[park.id] === 1 ? "ride" : "rides"} operating
)}