import { Link } from 'react-router-dom'; import { useTranslation } from '@/contexts/language'; /** * The site links that live in the desktop footer — surfaced on the map * (a full-bleed route where the footer is hidden) without stealing map height. * * Desktop: a slim full-width bar. Mobile: a tiny collapsed "Links" chip that * expands to a compact row. Always visible: the map is a full-bleed route, so * this strip is the only footer there — no accidental permanent hiding. */ export function MapFooterStrip() { const { t } = useTranslation(); const links = [ { to: '/diy', label: t('nav.diy') }, { to: '/newsletter', label: t('nav.newsletter') }, { to: '/license', label: t('chromeUi.license') }, { to: '/privacy', label: t('chromeUi.privacy') }, ]; return (
{/* Desktop — slim full-width bar */}
{links.map((l) => ( {l.label} ))}
{t('chromeUi.notSponsoredBy')} OpenSats OpenSats
{/* Mobile — a slim always-visible strip, not a floating chip over the nav */}
{links.map((l) => ( {l.label} ))}
); }