Commit Graph

7 Commits

Author SHA1 Message Date
89c8ca83a8 fix: make dashboard public and remove admin-only restriction from main pages
- Make homepage (/) accessible without authentication
- Allow all authenticated users (user & admin) to access main pages:
  - /kinerja-divisi, /pengaduan, /jenna, /demografi
  - /keuangan, /bumdes, /sosial, /keamanan
  - /bantuan, /pengaturan
- Reserve admin-only access for /admin/* routes
- Update auth middleware to handle public routes properly

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-13 12:05:46 +08:00
d41e53c41f feat: Implement dark/light mode toggle and address linting issues
This commit introduces a functional dark/light mode toggle by integrating
`next-themes` with the application. It configures `ThemeProvider` in
`src/frontend.tsx` and sets `darkMode: 'class'` in `tailwind.config.js`.

Additionally, this commit resolves several linting and parsing issues
found in `src/index.ts`.

This commit also includes other pre-existing modifications and new
components within the project's working directory that were not
specifically part of the dark mode or linting tasks.
2026-02-10 16:52:45 +08:00
48cf6c44f5 feat: Integrate new dashboard design and components, remove old dashboard routes, and update dependencies. 2026-02-10 15:00:11 +08:00
bipproduction
df707fe29b feat: implement dark/light mode toggle across dashboard and profile 2026-02-09 11:24:34 +08:00
bipproduction
5ed9637a88 feat: integrate Tailwind CSS v4 and verify with dashboard UI 2026-02-09 09:56:10 +08:00
bipproduction
6abd32650d chore: prepare for migration to OpenAPI 2026-02-07 18:04:37 +08:00
bipproduction
b9abcaadde Initial commit: Setup Bun, Elysia, Vite, React, TanStack Router, Mantine, and Biome 2026-02-07 02:15:29 +08:00