"use client"; import { AnimatePresence, motion } from "framer-motion"; import { useI18n } from "@/lib/i18n"; import { fade } from "@/lib/motion"; import { useOnline } from "@/lib/use-online"; /** A quiet offline pill under the header; saved decks keep working offline. */ export function OfflineBanner() { const online = useOnline(); const { t } = useI18n(); return ( {!online ? (

{t("offline.banner")}

) : null}
); }