t-convex-nextjs-saas/src/app/page.tsx

17 lines
454 B
TypeScript
Raw Normal View History

2026-03-28 11:46:49 +00:00
import { useTranslations } from 'next-intl';
import { ThemeChanger } from '../components/core/ThemeChanger';
import Link from 'next/link';
import { routes } from '../constants';
export default function Home() {
2026-03-28 11:46:49 +00:00
const t = useTranslations('Core');
2026-03-27 23:15:07 +00:00
return (
<>
2026-03-28 11:46:49 +00:00
<h1>{t('Save')}</h1>
2026-03-27 23:15:07 +00:00
<ThemeChanger />
2026-03-28 11:46:49 +00:00
<Link href={routes.unauthorized.login}>Login</Link>
<Link href={routes.unauthorized.register}>Register</Link>
2026-03-27 23:15:07 +00:00
</>
);
}