"use client"; import React from "react"; import { Logo } from "./Logo"; import { useTranslations } from 'next-intl'; import { LocaleLink } from './locale-link'; import { NewsletterForm } from '@/features/marketing/components/newsletter-form'; export const Footer = () => { const t = useTranslations(); const links = [ { name: t('navigation.main.blog'), href: "/blog", }, { name: t('navigation.main.contact'), href: "/contact", }, ]; const legal = [ { name: t('navigation.footer.legal.terms'), href: "/terms", }, { name: t('navigation.footer.legal.privacy'), href: "/privacy", }, { name: t('navigation.footer.legal.cookies'), href: "/cookies", }, ]; const socials = [ { name: t('footer.social.twitter'), href: "https://x.com/ToolsoAI", external: true, }, { name: t('footer.social.github'), href: "https://github.com/coolchange-ai/toolso-ai-open", external: true, }, ]; return (
{/* Footer Links Section */}
{t('common.brand.copyright')}
{t('common.brand.allRightsReserved')}
{links.map((link) => ( {link.name} ))}
{legal.map((link) => ( {link.name} ))}
{socials.map((link) => ( {link.name} ))}
); };