import { Icon } from './ui/icons.tsx'; import { Exhibit } from './exhibit/exhibit.tsx'; import { useRadio } from './radio/use-radio.ts'; export function App() { const { state, signal, actions, audioRef } = useRadio(); return (
Skip to the exhibit
POCKET RADIO ESP32 × CLOUDFLARE
{state.auth === 'required' ? 'PRIVATE ACCESS' : state.auth === 'checking' ? 'CHECKING THE BOARD' : state.room.online ? 'BOARD IS ON AIR' : 'BOARD IS OFFLINE'}

Follow the signal.

{state.room.viewers.toString().padStart(2, '0')} LISTENERS
); }