import Link from 'next/link' import { cn } from '@/lib/utils' const APOIAR_URL = 'https://apoiar.me/jorgesolla' const FOOTER_LINK = cn( 'text-[rgb(255_248_242/75%)] no-underline hover:text-white', 'focus-visible:rounded-[2px] focus-visible:text-white focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-(--pt-yellow)', ) const REDES = [ { label: 'Instagram', href: 'https://instagram.com/depjorgesolla' }, { label: 'YouTube', href: 'https://youtube.com/@JorgeSollaDep' }, { label: 'Facebook', href: 'https://facebook.com/depjorgesolla' }, ] /** * Rodapé eleitoral da campanha: identificação, navegação e redes oficiais. * S21 — the "Jingles" discovery link only appears while something is published; * the caller resolves the cached flag (`hasPublishedJingles`, or the page's own * list) and passes it, so this stays a synchronous presentational leaf. * S27 — the same contract for the "Conteúdos" link (`hasPublishedContentPieces`). * `current` marks the page as the current one for assistive tech and the * artefato's highlight. */ export const CampaignFooter = ({ showJingles = false, showConteudos = false, current, }: { showJingles?: boolean showConteudos?: boolean current?: 'jingles' | 'conteudos' } = {}) => { const jinglesLinkClass = cn(FOOTER_LINK, current === 'jingles' && 'font-bold text-white') const conteudosLinkClass = cn(FOOTER_LINK, current === 'conteudos' && 'font-bold text-white') return ( ) }