mirror of
https://github.com/FranP-code/inbox-negotiator.git
synced 2025-10-13 00:42:26 +00:00
Add authentication system with landing page
This commit is contained in:
committed by
GitHub
parent
1bb5fcd022
commit
7349ae477c
15
src/pages/dashboard.astro
Normal file
15
src/pages/dashboard.astro
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
import '@/styles/globals.css'
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
import { Dashboard } from '../components/Dashboard';
|
||||
import { ProtectedRoute } from '../components/ProtectedRoute';
|
||||
import { Navbar } from '../components/Navbar';
|
||||
---
|
||||
|
||||
<Layout title="Dashboard - InboxNegotiator">
|
||||
<Navbar client:load />
|
||||
|
||||
<ProtectedRoute client:load>
|
||||
<Dashboard client:load />
|
||||
</ProtectedRoute>
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user