From f1fec2355c825464824661f8730ff64f7659fe54 Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 4 Apr 2026 20:54:14 -0400 Subject: [PATCH] polish: ride count copy, open indicator, and badge sizing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "X rides open" → "X rides operating" (desktop + mobile) - Green glowing dot next to park name when actively operating - Hours text in calendar cells: larger (0.78rem) and bolder (600) - Parks open badge: green tint when parks are open, larger text Co-Authored-By: Claude Sonnet 4.6 --- app/page.tsx | 12 ++++++------ components/ParkCard.tsx | 2 +- components/WeekCalendar.tsx | 30 +++++++++++++++++++++--------- 3 files changed, 28 insertions(+), 16 deletions(-) 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
)}