the-tip-top-frontend/app
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
..
about style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
admin feat: add user details page and getUserById service method 2025-11-19 15:09:00 +01:00
client fix: remove price display from client dashboard 2025-11-19 03:27:19 +01:00
contact style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
cookies dev 2025-11-17 23:38:02 +01:00
data-deletion feat: add data deletion instructions page for Facebook compliance 2025-11-18 20:46:58 +01:00
employe fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
faq style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
forgot-password style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
historique feat: modern UI redesign with SVG icons and improved styling 2025-11-19 02:29:41 +01:00
jeux feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
legal dev 2025-11-17 23:38:02 +01:00
login feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
lots style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
mes-lots fix: prevent localStorage access during SSR in debug page 2025-11-18 02:07:10 +01:00
privacy dev 2025-11-17 23:38:02 +01:00
profil feat: modern UI redesign with SVG icons and improved styling 2025-11-19 02:29:41 +01:00
register feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
rules style: apply modern design to remaining pages 2025-11-19 03:18:43 +01:00
terms dev 2025-11-17 23:38:02 +01:00
test-tickets fix: change button variant from 'default' to 'primary' in test-tickets page 2025-11-18 01:21:50 +01:00
favicon.ico feat: initial Next.js frontend 2025-10-28 22:48:49 +00:00
globals.css feat: enhance login/register pages with animated backgrounds and unified design 2025-11-20 21:35:57 +01:00
icon.svg dev 2025-11-17 23:38:02 +01:00
layout-client.tsx feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
layout.tsx fix: move GoogleOAuthProvider to client component to fix SSR errors 2025-11-18 19:03:33 +01:00
page.tsx feat: add SonarQube integration, cookie consent, and authentication improvements 2025-11-21 01:23:50 +01:00
providers.tsx fix: ensure GoogleOAuthProvider is always available to prevent context errors 2025-11-18 20:10:25 +01:00