16 lines
454 B
TypeScript
16 lines
454 B
TypeScript
import { useTranslations } from 'next-intl';
|
|
import { ThemeChanger } from '../components/core/ThemeChanger';
|
|
import Link from 'next/link';
|
|
import { routes } from '../constants';
|
|
|
|
export default function Home() {
|
|
const t = useTranslations('Core');
|
|
return (
|
|
<>
|
|
<h1>{t('Save')}</h1>
|
|
<ThemeChanger />
|
|
<Link href={routes.unauthorized.login}>Login</Link>
|
|
<Link href={routes.unauthorized.register}>Register</Link>
|
|
</>
|
|
);
|
|
}
|