mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
14 lines
369 B
TypeScript
14 lines
369 B
TypeScript
import { useTranslations } from 'next-intl';
|
|
|
|
export default function CopyRight() {
|
|
const currentYear = new Date().getFullYear();
|
|
const copyrightDate = 2023 + (currentYear > 2023 ? `-${currentYear}` : '');
|
|
const t = useTranslations('ui');
|
|
|
|
return (
|
|
<p className="text-xs text-white">
|
|
© {copyrightDate} Kodamera - {t('copyright')}
|
|
</p>
|
|
);
|
|
}
|