"use client"; import { Link, useTranslation } from "@/app/digital/i18n/navigation"; import { useCrossSiteUrls } from "@/app/digital/lib/useCrossSiteUrls"; import DigitalThemeIcon from "./DigitalThemeIcon"; export default function Footer() { const { t } = useTranslation("footer"); const { meetupUrl, vipUrl } = useCrossSiteUrls(); const footerSections = [ { titleKey: "guide" as const, links: [ { labelKey: "roadmap" as const, href: "#roadmap" }, { labelKey: "tools" as const, href: "#tools" }, { labelKey: "destinations" as const, href: meetupUrl, openInNewTab: true }, ], }, { titleKey: "resources" as const, links: [ { labelKey: "remoteJobs" as const, href: "/jobs", internal: true }, { labelKey: "visa" as const, href: "/services", internal: true }, { labelKey: "coliving" as const, href: "/services", internal: true }, { labelKey: "insurance" as const, href: "/services", internal: true }, ], }, { titleKey: "community" as const, links: [ { labelKey: "discord" as const, href: "/join", internal: true }, { labelKey: "wechat" as const, href: vipUrl, openInNewTab: true }, { labelKey: "jike" as const, href: "/discuss", internal: true }, ], }, { titleKey: "about" as const, links: [ { labelKey: "aboutUs" as const, href: "/about", internal: true }, { labelKey: "recruit" as const, href: "/jobs", internal: true }, { labelKey: "privacy" as const, href: "/privacy", internal: true, openInNewTab: true }, { labelKey: "contact" as const, href: "/contact", internal: true }, ], }, ]; return ( ); }