chore: starter template

This commit is contained in:
e2e
2026-07-10 19:42:56 +02:00
commit e5c3377b6b
157 changed files with 6462 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { createFileRoute, redirect } from '@tanstack/react-router'
// The starter has no marketing landing — entry is the sign-in screen. Redirect
// at the router level so it runs during SSR (and every navigation), instead of a
// client-only effect that leaves `/` blank until hydration. Signed-in visitors
// are then bounced to /app by /login's own auth gate.
export const Route = createFileRoute('/')({
beforeLoad: () => {
throw redirect({ to: '/login' })
},
})