"use client"; import { useTranslations } from "next-intl"; import Link from "next/link"; import { APP_CONFIG } from "@/shared/constants/appConfig"; const footerLinks = { product: [ { label: "Features", href: "#features" }, { label: "Pricing", href: "#pricing" }, { label: "Changelog", href: "https://github.com/diegosouzapw/OmniRoute/releases", external: true, }, ], resources: [ { label: "Documentation", href: "/docs" }, { label: "API Reference", href: "/docs#api-reference" }, { label: "Help Center", href: "https://github.com/diegosouzapw/OmniRoute/discussions", external: true, }, ], company: [ { label: "About", href: "https://github.com/diegosouzapw/OmniRoute", external: true }, { label: "Blog", href: "https://github.com/diegosouzapw/OmniRoute/releases", external: true }, { label: "Contact", href: "https://github.com/diegosouzapw/OmniRoute/issues/new/choose", external: true, }, { label: "Terms", href: "/terms" }, { label: "Privacy", href: "/privacy" }, ], }; export default function Footer() { const t = useTranslations("stats"); const renderFooterLink = (link) => { if (link.external) { return ( {link.label} ); } return ( {link.label} ); }; return ( ); }