Commit Graph

23 Commits

Author SHA1 Message Date
Julien Froidefond
e6201120b9 Add user seeding functionality and enhance user profiles: Update prisma.config to include seed script and modify seed.ts to add new users with character classes, avatars, and bios, enriching user profiles and gameplay experience. 2025-12-09 22:15:58 +01:00
Julien Froidefond
0ac6dbd423 Add character selection modal to Leaderboard: Implement a modal for displaying detailed user profiles when a leaderboard entry is clicked. This includes user avatar, rank, character class, score, level, and bio, enhancing user interaction and profile visibility. 2025-12-09 22:11:47 +01:00
Julien Froidefond
b245be3bf4 Enhance user profiles with character class feature: Add character class field to user model and update related API routes, UI components, and validation logic. This update improves user profile customization and leaderboard entries by allowing users to select and display their character class. 2025-12-09 22:03:51 +01:00
Julien Froidefond
3a0dd57bb6 Add bio field to user model and update related components: Enhance leaderboard and profile features by including a bio field in user data. Update API routes, UI components, and validation logic to support bio input and display, improving user profiles and leaderboard entries. 2025-12-09 22:00:19 +01:00
Julien Froidefond
16b0437ecb Refactor event fetching and display: Change event retrieval order to descending by date, enhance event data structure to include registration counts, and update UI components to reflect these changes for better user experience. 2025-12-09 21:55:42 +01:00
Julien Froidefond
50a2eaf109 Implement event registration functionality: Add EventRegistration model to Prisma schema, enabling user event registrations. Enhance EventsPageSection component with registration checks, calendar view, and improved event display. Refactor event rendering logic to separate upcoming and past events, improving user experience. 2025-12-09 21:53:10 +01:00
Julien Froidefond
5ae6cde14e Enhance HeroSection component: Implement mouse-following gradient effect for the game title, improving visual interactivity. Update CSS for better font formatting and add a new title animation class for enhanced text styling. 2025-12-09 14:40:02 +01:00
Julien Froidefond
6dc08dc818 Refactor HeroSection component: Remove particle and orb animations to simplify the code and improve performance. Streamline the component structure while maintaining the existing background image functionality. 2025-12-09 14:32:45 +01:00
Julien Froidefond
b8f4672206 Refactor ProfileForm component: Improve code readability by formatting error messages and UI elements. Add default avatar selection feature for user profile customization, enhancing user experience. Update button labels for clarity during avatar upload and password modification. 2025-12-09 14:26:13 +01:00
Julien Froidefond
67131f6470 Refactor page components to use NavigationWrapper and integrate Prisma for data fetching. Update EventsSection and LeaderboardSection to accept props for events and leaderboard data, enhancing performance and user experience. Implement user authentication in ProfilePage and AdminPage, ensuring secure access to user data. 2025-12-09 14:11:47 +01:00
Julien Froidefond
b1f36f6210 Enhance Admin and Profile UI: Update admin page to display user preferences with improved layout and visuals. Add password change functionality to profile page, including form handling and validation. Refactor ImageSelector for better image preview and upload experience. 2025-12-09 14:02:27 +01:00
Julien Froidefond
4e38bd1e8e Refactor Navigation component to improve user experience by adding profile link for user access and enhancing navigation options. 2025-12-09 12:56:24 +01:00
Julien Froidefond
447ef9d076 Add profile link to Navigation component for user access, enhancing navigation options. 2025-12-09 12:46:29 +01:00
Julien Froidefond
f732eb7385 feat: user admin ui : condensed 2025-12-09 12:40:45 +01:00
Julien Froidefond
d1e94f1402 Update HeroSection buttons to use Next.js Link for navigation to events and leaderboard, enhancing user experience and accessibility. Rename game title in Navigation component to 'Peaksys'. 2025-12-09 08:51:24 +01:00
Julien Froidefond
82c557e10c Add Event Management section to admin page, allowing users to manage events alongside preferences and user management. Updated UI to include event button and corresponding display area. 2025-12-09 08:49:47 +01:00
Julien Froidefond
4de3fea776 Add User Management component to admin page, replacing placeholder text with functional UI for user management. 2025-12-09 08:48:08 +01:00
Julien Froidefond
8c326bdd20 Refactor admin preferences management to use global site preferences, update UI components for better user experience, and implement image selection for background settings. 2025-12-09 08:37:52 +01:00
Julien Froidefond
4486f305f2 Add database and Prisma configurations, enhance event and leaderboard components with API integration, and update navigation for session management 2025-12-09 08:24:14 +01:00
Julien Froidefond
f57a30eb4d Enhance HeroSection layout by adding flexbox for better alignment and adjusting max-width for larger screens. This improves the overall presentation of the game title. 2025-12-09 06:53:27 +01:00
Julien Froidefond
f62843efcf Refactor Navigation component to use Next.js Link for navigation links, improving performance and accessibility. 2025-12-09 06:50:54 +01:00
Julien Froidefond
c5bd94ec69 Translate event details and UI text to French, including event names, descriptions, and status labels. Update navigation styles for consistency. 2025-12-08 17:22:14 +01:00
Julien Froidefond
4e6ce54e0f Init 2025-12-08 17:13:14 +01:00