import { ReactNode } from "react"; import { Link } from "wouter"; import { Phone, Apple, Play } from "lucide-react"; import { Header } from "./Header"; import { useLanguage } from "../../contexts/LanguageContext"; function XIcon({ className = "" }: { className?: string }) { return ( ); } interface FooterLink { label: string; href: string; internal?: boolean; } export function AppLayout({ children }: { children: ReactNode }) { const { t } = useLanguage(); const f = t.footer; const overviewLinks: FooterLink[] = [ { label: f.overviewAbout, href: "/about", internal: true }, { label: f.overviewCommittees, href: "/about/committees", internal: true }, { label: f.overviewSms, href: "#" }, { label: f.overviewSitemap, href: "#" }, ]; const supportLinks: FooterLink[] = [ { label: f.supportComplaints, href: "#" }, { label: f.supportSla, href: "#" }, { label: f.supportFaq, href: "#" }, { label: f.supportPrivacy, href: "#" }, { label: f.supportAccessibility, href: "#" }, ]; const renderLink = (link: FooterLink) => { const cls = "text-sm text-white/80 transition-colors hover:text-white"; if (link.internal) { return ( {link.label} ); } return ( {link.label} ); }; return (