27 lines
820 B
TypeScript
27 lines
820 B
TypeScript
import { useTranslations } from 'next-intl';
|
|
|
|
const Footer = () => {
|
|
const t = useTranslations('Footer');
|
|
|
|
// const shortLinks = [
|
|
// { name: 'About', href: '/about' },
|
|
// { name: 'Contact', href: '/contact' },
|
|
// ];
|
|
return (
|
|
<section className="py-5">
|
|
<div className="max-w-6xl w-full mx-auto">
|
|
<div className=" flex flex-col justify-between gap-4 text-center text-sm font-medium text-muted-foreground lg:flex-row lg:items-center lg:text-left">
|
|
<p>{t('copyright', { year: new Date().getFullYear() })}</p>
|
|
<ul className="flex justify-center gap-4 lg:justify-start">
|
|
<li className="hover:text-primary">
|
|
<a href="#">{t('terms')}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default Footer;
|