Admin Panel
Manage your directory with the built-in admin dashboard.
Overview
The admin panel at /admin provides a complete management interface for your directory.
Pages
| Route | Purpose |
|---|---|
/admin | Analytics dashboard with charts |
/admin/projects | Approve, reject, and manage submissions |
/admin/categories | Category & sphere management with drag-and-drop |
/admin/users | User management |
/admin/sponsors | Sponsor management |
/admin/promotions | Promotion management |
/admin/theme | Theme customization |
Access control
Admin pages require the is_admin flag on the user record. Set it directly in Supabase or via the admin user management page.
Features
- Analytics dashboard — Charts for submissions, page views, and user growth (powered by Recharts)
- Drag-and-drop — Reorder categories and spheres with
@dnd-kit - CSV import — Bulk import projects from CSV files
- Theme editor — Live preview of color theme changes