Commit Graph

456 Commits

Author SHA1 Message Date
f11b516088 Lib: Implement racecard component 2024-12-23 16:15:27 +01:00
2ae436dbe5 Env: Add date-fns library 2024-12-23 16:15:27 +01:00
3b6c45e86e Lib: Fix bug in form_data_clean (mutating while iterating) 2024-12-23 16:15:27 +01:00
2e0539a9b8 Lib: Add schema definitions for race and substitution 2024-12-23 16:15:27 +01:00
88f3014238 Lib: Fix readonly + required in dropdown component by preventing keypress events 2024-12-23 16:15:27 +01:00
5cbbb89ee1 Data/Season: Use team/driver card components 2024-12-23 16:15:27 +01:00
52a8d8f4ff Lib: Implement team and driver cards 2024-12-23 16:15:27 +01:00
dcd1444ba7 Profile: Redirect to current page instead of "/" when logging in/out or changing/creating profile 2024-12-23 16:15:27 +01:00
218e105815 Hooks: Load template avatar url if user didn't set one 2024-12-23 16:15:27 +01:00
43638f5f40 Env: Add sharp for image conversion to avif 2024-12-23 16:15:27 +01:00
ae8310aeba App: Change Locals interface user type to User schema 2024-12-23 16:15:27 +01:00
758ee8de27 Data/Season: Display template graphics (for new driver/team etc.) 2024-12-23 16:15:27 +01:00
6cc5a1a0fa Data/Season: Load template graphics 2024-12-23 16:15:27 +01:00
95a2d086ee Lib: Replace get_by_id helper with more general get_by_value (key can be chosen) 2024-12-23 16:15:27 +01:00
16a315c1a5 Lib: Add Graphic and User schemas 2024-12-23 16:15:27 +01:00
66d2d9b878 Lib: Disable text input in Dropdown component 2024-12-23 16:15:27 +01:00
b08b73b337 Data/Season: Implement create_driver, update_driver and delete_driver routes 2024-12-23 16:15:27 +01:00
402f067877 Data/Season: Add team select to seasondata drivers page 2024-12-23 16:15:27 +01:00
9f45469f01 Env: Add UUID package 2024-12-23 16:15:27 +01:00
2c5a7a1143 Lib: Update type information 2024-12-23 16:15:27 +01:00
304ffd45ba Lib: Implement dropdown + search/autocomplete components 2024-12-23 16:15:27 +01:00
0abfaff004 App: Add TS type information 2024-12-23 16:15:27 +01:00
04569ea683 Skeleton: Manually ":hover" the button to the current page in navbar 2024-12-23 16:15:27 +01:00
96fc1ed2aa Profile: Move /user routes to /profile 2024-12-23 16:15:27 +01:00
7a8abbe0a9 Lib: Disable input label text wrapping 2024-12-23 16:15:27 +01:00
5d1ec12d95 Lib: Allow to manually enable :hover on Button 2024-12-23 16:15:26 +01:00
8060c4971d Migrate from DaisyUI to SkeletonUI 2024-12-23 16:15:26 +01:00
2f934537a2 Env: Update tailwindcss safelist 2024-12-23 16:15:26 +01:00
ff553c99ec Env: Replace daisyui with skeletonui 2024-12-23 16:15:26 +01:00
97872cc9b9 Env: Update prettier config 2024-12-23 16:15:26 +01:00
4ce40e7145 Skeleton: Disable "draggable" on links and images 2024-12-23 16:15:26 +01:00
b69647cd48 Skeleton: Move seasondata tabs into +layout.svelte 2024-12-23 16:15:26 +01:00
51651b976a Data/Season: Add stub page for drivers/races routes 2024-12-23 16:15:26 +01:00
7623a426c9 Lib: Rename forms.ts to form.ts 2024-12-23 16:15:26 +01:00
f1830d1b1c Skeleton: Make "Login" button the default on enter (instead of "Register") 2024-12-23 16:15:26 +01:00
55bdf0fa18 Data/Season: Implement seasondata/teams page + creation/deletion/updating 2024-12-23 16:15:26 +01:00
1410811167 User: Add login/register/profile form handling 2024-12-23 16:15:26 +01:00
27620fc70e Add stub page for / route 2024-12-23 16:15:26 +01:00
eb8aa01109 Skeleton: Add main page skeleton (navbar) 2024-12-23 16:15:26 +01:00
dd1e6ee6c1 Hooks: Add request event handler for authentication 2024-12-23 16:15:26 +01:00
a7b2bfb56b Static: Add favicon + logo 2024-12-23 16:15:26 +01:00
b3c10147df Env: Update devshell commands 2024-12-23 16:15:26 +01:00
f6b1f1ab58 Env: Update tailwind config + some other plugins 2024-12-23 16:15:26 +01:00
b561225a9b Add stub pages for some routes 2024-12-23 16:15:26 +01:00
36cd9fbe8a Lib: Add image preview helper 2024-12-23 16:15:26 +01:00
4089b58df1 Lib: Add form helpers 2024-12-23 16:15:26 +01:00
278024b91b Lib: Add index.ts for easier importing 2024-12-23 16:15:26 +01:00
487ee2c534 Lib: Add username input 2024-12-23 16:15:26 +01:00
e268f4a0d3 Lib: Add password input 2024-12-23 16:15:26 +01:00
f46a92d00b Lib: Add text input 2024-12-23 16:15:26 +01:00