From 8c3841d9a53e8d116004c54aab26624f9e68451e Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sun, 5 Apr 2026 08:27:45 -0400 Subject: [PATCH] polish: move queue-times attribution to Rides section heading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Attribution now sits on the right end of the "RIDES · Live" bar as a subtle "via queue-times.com" link, making it clear the live ride data (not the whole site) is sourced from Queue-Times. Removed the orphaned attribution block from the bottom of LiveRidePanel. Co-Authored-By: Claude Sonnet 4.6 --- app/park/[id]/page.tsx | 29 +++++++++++++++++++++++++---- components/LiveRidePanel.tsx | 20 -------------------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/app/park/[id]/page.tsx b/app/park/[id]/page.tsx index 7588f43..ce9a635 100644 --- a/app/park/[id]/page.tsx +++ b/app/park/[id]/page.tsx @@ -131,7 +131,25 @@ export default async function ParkPage({ params, searchParams }: PageProps) { {/* ── Ride Status ─────────────────────────────────────────────────── */}
- + + via queue-times.com + + ) : undefined}> Rides {liveRides ? ( @@ -174,12 +192,12 @@ function formatShortDate(iso: string): string { // ── Sub-components ───────────────────────────────────────────────────────── -function SectionHeading({ children }: { children: React.ReactNode }) { +function SectionHeading({ children, aside }: { children: React.ReactNode; aside?: React.ReactNode }) { return (
{children} + {aside}
); } diff --git a/components/LiveRidePanel.tsx b/components/LiveRidePanel.tsx index 662594d..57f379b 100644 --- a/components/LiveRidePanel.tsx +++ b/components/LiveRidePanel.tsx @@ -115,26 +115,6 @@ export function LiveRidePanel({ liveRides, parkOpenToday }: LiveRidePanelProps) {closedRides.map((ride) => )} - {/* ── Attribution ──────────────────────────────────────────────────── */} -
- Powered by{" "} - - Queue-Times.com - - {" "}· Updates every 5 minutes -
); }