feat: implement public API routes and staff authentication

- Add public API endpoints for locations, services, and availability
- Implement staff login system with password authentication
- Update auth context to support password sign-in
- Protect aperture dashboard with authentication
- Update project documentation with new domains
This commit is contained in:
Marco Gallegos
2026-01-16 21:45:47 -06:00
parent 0f6fe9bf7b
commit fb60178c86
8 changed files with 273 additions and 1 deletions

View File

@@ -44,6 +44,12 @@ export default function ApertureDashboard() {
)
}
useEffect(() => {
if (!user) {
router.push('/aperture/login')
}
}, [user, router])
if (!user) {
return null
}