the-tip-top-frontend/components
soufiane 7febb137e9 feat: add SonarQube integration, cookie consent, and authentication improvements
- Add SonarQube configuration for code quality analysis
  - sonar-project.properties with TypeScript/Next.js settings
  - .sonarignore to exclude build artifacts and dependencies
  - npm run sonar script
  - Jenkins pipeline stages for SonarQube analysis and quality gate

- Implement cookie consent banner
  - New CookieConsent component with matching site colors
  - localStorage persistence for user choice
  - Accept/Reject buttons with proper styling
  - Link to cookies policy page

- Add strict authentication protection for game page
  - Redirect unauthenticated users to login from /jeux
  - Clean up redundant auth checks and UI elements
  - Preserve redirect parameter for post-login navigation

- Implement smart navigation with auth-aware redirects
  - "Jouer maintenant" button redirects based on auth status
  - "Participer au jeu" footer link with conditional routing
  - Authenticated users go to /jeux, others to /register

- UI improvements and cleanup
  - Remove "Voir les lots" button from homepage
  - Remove "Gestion des cookies" from footer
  - Remove "À propos" from footer navigation
  - Consistent design across components

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 01:23:50 +01:00
..
admin fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
forms dev 2025-11-17 23:38:02 +01:00
ui dev 2025-11-17 23:38:02 +01:00
AboutContest.tsx feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +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 SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
GamePeriod.tsx feat: enhance homepage with animated tea icons and improve branding 2025-11-20 16:46:57 +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: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +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