feat: Hammer Dashboard with sidebar navigation (HQ-21)

- Add React Router with sidebar layout (DashboardLayout)
- Queue is now a routed page at /queue
- Chat placeholder page at /chat
- Admin page accessible from sidebar
- Dark sidebar with amber accent for active nav
- Updated CORS and auth to support dash.donovankelly.xyz
- Renamed to Hammer Dashboard
This commit is contained in:
2026-01-29 02:14:25 +00:00
parent 5c2e372ed2
commit 91bc69e178
11 changed files with 362 additions and 253 deletions

View File

@@ -52,7 +52,7 @@ ensureAdmin().catch(console.error);
const app = new Elysia()
.use(
cors({
origin: ["https://queue.donovankelly.xyz", "http://localhost:5173"],
origin: ["https://dash.donovankelly.xyz", "https://queue.donovankelly.xyz", "http://localhost:5173"],
credentials: true,
allowedHeaders: ["Content-Type", "Authorization", "Cookie"],
methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"],

View File

@@ -25,6 +25,7 @@ export const auth = betterAuth({
},
},
trustedOrigins: [
"https://dash.donovankelly.xyz",
"https://queue.donovankelly.xyz",
"http://localhost:5173",
],