added /admin for admin panel - limited to users in the admin role (also updated local .env to match prod keys for clerk)

This commit is contained in:
Zach Harding
2026-03-28 16:52:53 -04:00
parent 2b3d5f322e
commit c61cafecdc
2 changed files with 58 additions and 12 deletions

18
src/pages/admin.astro Normal file
View File

@@ -0,0 +1,18 @@
---
export const prerender = false;
import Layout from '../layouts/Main.astro';
import NavItems from '../components/NavItems.astro';
import NavBar from '../components/NavBar.astro';
import Footer from '../components/Footer.astro';
---
<Layout title="Admin Panel">
<NavBar slot="navbar">
<NavItems slot="navItems" />
</NavBar>
<div class="row mb-4" slot="page">
<div class="col-12">
<h1>Admin Panel</h1>
</div>
</div>
<Footer slot="footer" />
</Layout>