2023-08-07 16:40:42 +02:00

16 lines
384 B
TypeScript

'use client';
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>
);
}