feat: add puzzle component and image upload functionality
All checks were successful
Migrate supabase / migrate (push) Successful in 16s

- Introduced a new Puzzle component for interactive puzzle gameplay.
- Updated StepForm to include fields for puzzle image and number of pieces.
- Implemented image upload handling in the server-side logic for steps.
- Enhanced database schema to store image URLs and puzzle piece counts.
- Added file upload utilities for managing uploaded images.
- Created routes for serving uploaded images securely.
- Updated game play routes to handle puzzle completion logic.
- Improved error handling for image uploads and puzzle configurations.
This commit is contained in:
2026-03-08 19:37:57 +01:00
parent 8cda97a2f0
commit 2455c75732
17 changed files with 1722 additions and 12 deletions

3
.gitignore vendored
View File

@@ -21,3 +21,6 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# Uploads
/uploads