From eab0abf800697e35f6e20535923f657713fb69db Mon Sep 17 00:00:00 2001 From: kfj001 Date: Tue, 28 Apr 2026 02:41:47 +0000 Subject: [PATCH] New redesign Co-authored-by: Copilot --- app/components/RadioControls.tsx | 36 +++++++ app/components/WebsitePanel.tsx | 27 ++++++ app/config/sites.ts | 15 +++ app/globals.css | 161 +++++++++++++++++++++---------- app/layout.tsx | 2 +- app/page.tsx | 35 ++++--- next-env.d.ts | 2 +- 7 files changed, 208 insertions(+), 70 deletions(-) create mode 100644 app/components/RadioControls.tsx create mode 100644 app/components/WebsitePanel.tsx create mode 100644 app/config/sites.ts diff --git a/app/components/RadioControls.tsx b/app/components/RadioControls.tsx new file mode 100644 index 0000000..c54f5ce --- /dev/null +++ b/app/components/RadioControls.tsx @@ -0,0 +1,36 @@ +type RadioControlsProps = { + status: string; + isPlaying: boolean; + onPlay: () => void | Promise; + onStop: () => void; +}; + +export function RadioControls({ status, isPlaying, onPlay, onStop }: RadioControlsProps) { + return ( +
+

+ {status} +

+
+ + +
+
+ ); +} diff --git a/app/components/WebsitePanel.tsx b/app/components/WebsitePanel.tsx new file mode 100644 index 0000000..4cb0906 --- /dev/null +++ b/app/components/WebsitePanel.tsx @@ -0,0 +1,27 @@ +type WebsitePanelProps = { + label: string; + url: string; +}; + +export function WebsitePanel({ label, url }: WebsitePanelProps) { + return ( +
+
+

{label}

+

+ {url} +

+
+
+