Henrik Larsson 3e513eaf99 Updates
2023-08-08 11:46:46 +02:00

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">
&copy; {copyrightDate} Kodamera - {t('copyright')}
</p>
);
}