import { cn } from '@/lib/utils'; import { useStorefront } from '../context'; import { storefrontText } from '../text'; import type { FooterSection } from '../types'; import { Container, SfLink } from '../ui'; import { whatsappLink } from '../whatsapp'; export function Footer({ section, }: { section: Pick; }) { const { text, links } = section.content; const centered = section.variant === 'centered'; const { storeName, shop, language } = useStorefront(); const t = storefrontText(language); // columns: a fuller footer with the store name, its links, and help links. if (section.variant === 'columns') { return ( ); } return ( ); }