feat(client): login page

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-24 19:37:39 +08:00
parent ded24e4ad5
commit 13330ae59f
18 changed files with 594 additions and 32 deletions

13
client/src/lib/router.ts Normal file
View File

@@ -0,0 +1,13 @@
import { createRouter } from '@tanstack/react-router';
// Import the generated route tree
import { routeTree } from '../routeTree.gen';
// Create a new router instance
export const router = createRouter({ routeTree });
// Register the router instance for type safety
declare module '@tanstack/react-router' {
interface Register {
router: typeof router;
}
}