the-tip-top-frontend/.sonarignore
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

51 lines
472 B
Plaintext

# Dependencies
node_modules/
**/node_modules/**
# Build outputs
.next/
out/
dist/
build/
# Testing
coverage/
.nyc_output/
# Static files
public/
# Configuration files
*.config.js
*.config.ts
next.config.js
tailwind.config.js
postcss.config.js
jest.config.js
jest.setup.js
# Environment files
.env*
!.env.example
# Logs
logs/
*.log
npm-debug.log*
# IDE
.vscode/
.idea/
# Docker
Dockerfile
docker-compose*.yml
# CI/CD
Jenkinsfile
.github/
# Backups
*.backup
*.bak