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} +

+
+
+