import { Link } from "wouter"; import { SiFacebook, SiInstagram, SiYoutube, SiTiktok } from "react-icons/si"; import { useIsMobile } from "@/hooks/use-mobile"; const SOCIAL_LINKS = [ { href: "https://www.facebook.com/folxtv/", icon: SiFacebook, label: "Facebook", testId: "link-social-facebook" }, { href: "https://www.instagram.com/folxtv/", icon: SiInstagram, label: "Instagram", testId: "link-social-instagram" }, { href: "https://www.youtube.com/@folxmtv", icon: SiYoutube, label: "YouTube", testId: "link-social-youtube" }, { href: "https://www.tiktok.com/@folxtv", icon: SiTiktok, label: "TikTok", testId: "link-social-tiktok" }, ]; const STICKY_AD_DISMISS_KEY = "folx-sticky-ad-dismissed"; export default function Footer({ narrow }: { narrow?: boolean }) { const isMobile = useIsMobile(); const stickyAdDismissed = typeof window !== "undefined" && sessionStorage.getItem(STICKY_AD_DISMISS_KEY); const showStickyPadding = isMobile && !stickyAdDismissed; return ( ); }