Skip to content

Commit ec6c8ac

Browse files
codewizdaveclaude
andcommitted
feat: add /dashboard route and redirect root to it
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e3d9953 commit ec6c8ac

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

apps/web/src/routes/dashboard.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { createFileRoute } from '@tanstack/react-router'
2+
3+
export const Route = createFileRoute('/dashboard')({
4+
component: DashboardPage,
5+
})
6+
7+
function DashboardPage() {
8+
return (
9+
<div className="min-h-screen bg-gradient-to-br from-slate-50 via-white to-slate-100 dark:from-slate-900 dark:via-slate-800 dark:to-slate-900">
10+
<div className="p-8">
11+
<h1 className="text-2xl font-bold text-slate-900 dark:text-white">Dashboard</h1>
12+
<p className="text-slate-500 dark:text-slate-400 mt-2">Coming soon...</p>
13+
</div>
14+
</div>
15+
)
16+
}

apps/web/src/routes/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createFileRoute, redirect } from '@tanstack/react-router'
33
export const Route = createFileRoute('/')({
44
beforeLoad: () => {
55
throw redirect({
6-
to: '/setup',
6+
to: '/dashboard',
77
})
88
},
99
})

0 commit comments

Comments
 (0)