feat: Implement initial authentication pages and a MapLibre GL map component with TanStack Router setup.

This commit is contained in:
2026-03-09 19:04:28 +01:00
parent c04f805936
commit bd8bb70b88
9 changed files with 5146 additions and 3131 deletions

View File

@@ -13,6 +13,7 @@ import { Route as LoginRouteRouteImport } from './routes/login/route'
import { Route as IndexRouteImport } from './routes/index'
import { Route as DemoTanstackQueryRouteImport } from './routes/demo/tanstack-query'
import { Route as DemoI18nRouteImport } from './routes/demo.i18n'
import { Route as AuthDashboardRouteImport } from './routes/auth/dashboard'
import { Route as DemoSentryTestingRouteImport } from './routes/demo/sentry.testing'
const LoginRouteRoute = LoginRouteRouteImport.update({
@@ -35,6 +36,11 @@ const DemoI18nRoute = DemoI18nRouteImport.update({
path: '/demo/i18n',
getParentRoute: () => rootRouteImport,
} as any)
const AuthDashboardRoute = AuthDashboardRouteImport.update({
id: '/auth/dashboard',
path: '/auth/dashboard',
getParentRoute: () => rootRouteImport,
} as any)
const DemoSentryTestingRoute = DemoSentryTestingRouteImport.update({
id: '/demo/sentry/testing',
path: '/demo/sentry/testing',
@@ -44,6 +50,7 @@ const DemoSentryTestingRoute = DemoSentryTestingRouteImport.update({
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/login': typeof LoginRouteRoute
'/auth/dashboard': typeof AuthDashboardRoute
'/demo/i18n': typeof DemoI18nRoute
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
'/demo/sentry/testing': typeof DemoSentryTestingRoute
@@ -51,6 +58,7 @@ export interface FileRoutesByFullPath {
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/login': typeof LoginRouteRoute
'/auth/dashboard': typeof AuthDashboardRoute
'/demo/i18n': typeof DemoI18nRoute
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
'/demo/sentry/testing': typeof DemoSentryTestingRoute
@@ -59,6 +67,7 @@ export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/login': typeof LoginRouteRoute
'/auth/dashboard': typeof AuthDashboardRoute
'/demo/i18n': typeof DemoI18nRoute
'/demo/tanstack-query': typeof DemoTanstackQueryRoute
'/demo/sentry/testing': typeof DemoSentryTestingRoute
@@ -68,6 +77,7 @@ export interface FileRouteTypes {
fullPaths:
| '/'
| '/login'
| '/auth/dashboard'
| '/demo/i18n'
| '/demo/tanstack-query'
| '/demo/sentry/testing'
@@ -75,6 +85,7 @@ export interface FileRouteTypes {
to:
| '/'
| '/login'
| '/auth/dashboard'
| '/demo/i18n'
| '/demo/tanstack-query'
| '/demo/sentry/testing'
@@ -82,6 +93,7 @@ export interface FileRouteTypes {
| '__root__'
| '/'
| '/login'
| '/auth/dashboard'
| '/demo/i18n'
| '/demo/tanstack-query'
| '/demo/sentry/testing'
@@ -90,6 +102,7 @@ export interface FileRouteTypes {
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
LoginRouteRoute: typeof LoginRouteRoute
AuthDashboardRoute: typeof AuthDashboardRoute
DemoI18nRoute: typeof DemoI18nRoute
DemoTanstackQueryRoute: typeof DemoTanstackQueryRoute
DemoSentryTestingRoute: typeof DemoSentryTestingRoute
@@ -125,6 +138,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof DemoI18nRouteImport
parentRoute: typeof rootRouteImport
}
'/auth/dashboard': {
id: '/auth/dashboard'
path: '/auth/dashboard'
fullPath: '/auth/dashboard'
preLoaderRoute: typeof AuthDashboardRouteImport
parentRoute: typeof rootRouteImport
}
'/demo/sentry/testing': {
id: '/demo/sentry/testing'
path: '/demo/sentry/testing'
@@ -138,6 +158,7 @@ declare module '@tanstack/react-router' {
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
LoginRouteRoute: LoginRouteRoute,
AuthDashboardRoute: AuthDashboardRoute,
DemoI18nRoute: DemoI18nRoute,
DemoTanstackQueryRoute: DemoTanstackQueryRoute,
DemoSentryTestingRoute: DemoSentryTestingRoute,