Iterated with translations

This commit is contained in:
Henrik Larsson
2023-05-03 09:58:35 +02:00
parent 86dca04eec
commit cca3250557
54 changed files with 5406 additions and 728 deletions

View File

@@ -0,0 +1,15 @@
'use client';
import LocaleSwitcher from 'components/ui/locale-switcher';
import { useTranslations } from 'next-intl';
export default function Index() {
const t = useTranslations('Index');
return (
<div>
<h1>{t('title')}</h1>
<LocaleSwitcher />
</div>
)
}