t-convex-nextjs-saas/src/app/page.tsx
2026-03-28 12:46:49 +01:00

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>
</>
);
}