the-tip-top-frontend/app/admin
soufiane 765a944c11 feat: add user dropdown menu in admin and employee headers
- Add dropdown menu with user avatar, name, and email in admin header
- Add dropdown menu with user avatar, name, and email in employee header
- Create admin profile page at /admin/profil
- Create employee profile page at /employe/profil
- Remove Profil link from admin sidebar (now in dropdown)
- Fix header public display: hide for admin/employee on all pages
- Use router.replace() instead of router.push() for login redirects to avoid history pollution
- Simplify employe dashboard page: remove redundant auth checks handled by layout
- Add click-outside-to-close functionality for dropdown menus

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 01:24:21 +01:00
..
dashboard fix: correct TypeScript error in page.tsx PieChart label 2025-11-18 00:08:02 +01:00
lots dev 2025-11-17 23:38:02 +01:00
marketing-data fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
profil feat: add user dropdown menu in admin and employee headers 2025-11-25 01:24:21 +01:00
tickets dev 2025-11-17 23:38:02 +01:00
tirages fix: resolve React Hook dependency warnings in useEffect 2025-11-21 01:48:26 +01:00
utilisateurs fix: resolve React Hook dependency warnings in useEffect 2025-11-21 01:48:26 +01:00
layout.tsx feat: add user dropdown menu in admin and employee headers 2025-11-25 01:24:21 +01:00
page.tsx fix: remove invalid role comparisons in admin page 2025-11-18 00:25:05 +01:00