the-tip-top-frontend/components
soufiane c7c2a3f56c refactor: reduce code duplication from 18.51% to ~3%
- Delete unused page-advanced.tsx and page-backup.tsx (dashboard duplicates)
- Add useApi hook for centralized API calls with auth token
- Add LoadingState, ErrorState, StatusBadge reusable components
- Create shared ProfilePage component for admin/employee profiles
- Refactor admin and employee profile pages to use shared component

This refactoring addresses SonarQube quality gate failure for duplicated lines.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 16:06:40 +01:00
..
admin feat: improve user management and profile features 2025-11-28 13:59:52 +01:00
forms dev 2025-11-17 23:38:02 +01:00
ui refactor: reduce code duplication from 18.51% to ~3% 2025-11-30 16:06:40 +01:00
AboutContest.tsx feat: update prize displays and improve layout consistency 2025-11-23 23:56:19 +01:00
AuthProviders.tsx dev 2025-11-17 23:38:02 +01:00
Button.tsx feat: enhance homepage with animated tea icons and improve branding 2025-11-20 16:46:57 +01:00
CookieConsent.tsx feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
CountdownTimer.tsx feat: enhance homepage with animated tea icons and improve branding 2025-11-20 16:46:57 +01:00
Footer.tsx feat: add official social media links and update contact email 2025-11-24 12:16:45 +01:00
GamePeriod.tsx feat: add contact form API integration and UI improvements 2025-11-24 11:40:41 +01:00
GoogleLoginButton.tsx fix: resolve SSR prerender errors for login and profil pages 2025-11-18 19:45:35 +01:00
GrandPrize.tsx feat: enhance homepage with animated tea icons and improve branding 2025-11-20 16:46:57 +01:00
Header.tsx feat: apply new content to rules-about page 2025-11-23 23:24:45 +01:00
Logo.tsx dev 2025-11-17 23:38:02 +01:00
Navbar.tsx fix: replace 'as const' with explicit type annotation for NAV_ITEMS 2025-11-18 01:43:34 +01:00
ProfilePage.tsx refactor: reduce code duplication from 18.51% to ~3% 2025-11-30 16:06:40 +01:00