import { Megaphone } from "lucide-react"; import { formatIsoDateGerman, type Announcement } from "./service"; // Time-limited admin hints (e.g. "away at a match today"), shown at the top // of the editorial album overview. Renders nothing when nothing is active. export function AnnouncementBanner({ items }: { items: Announcement[] }) { if (items.length === 0) { return null; } return (
Hinweis von Leon Tonhäuser Sportfotografie
{item.message}
bezogen auf den {formatIsoDateGerman(item.eventDate)}