mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
29 lines
876 B
TypeScript
29 lines
876 B
TypeScript
'use client'
|
|
|
|
import Logo from 'components/ui/logo/logo';
|
|
import { useTranslations } from 'next-intl';
|
|
|
|
const Footer = () => {
|
|
const currentYear = new Date().getFullYear();
|
|
const copyrightDate = 2023 + (currentYear > 2023 ? `-${currentYear}` : '');
|
|
const t = useTranslations('ui');
|
|
|
|
return (
|
|
<footer className="border-t border-ui-border bg-app">
|
|
<div className="mx-auto w-full py-2 px-4 lg:py-3 lg:px-8 2xl:px-16">
|
|
<div className="flex w-full justify-between items-baseline my-12 transition-colors duration-150">
|
|
<div className="">
|
|
<a className="flex flex-initial items-center font-bold md:mr-24" href="/">
|
|
<Logo />
|
|
</a>
|
|
</div>
|
|
<p>
|
|
© {copyrightDate} Kodamera - {t('copyright')}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|
|
|
|
export default Footer; |