Integrate branding and theme settings with database

- Update BrandingPage to save settings to database instead of localStorage
- Add public settings endpoint for galleries to fetch branding/theme
- Update GalleryView to apply branding settings in footer
- Apply theme settings from database to gallery pages
- Support event-specific themes that override global settings
- Ensure watermark and all branding settings are stored in database
This commit is contained in:
2025-07-07 15:59:48 +02:00
parent 971397c338
commit 23ec674e05
4 changed files with 201 additions and 36 deletions
+1
View File
@@ -78,6 +78,7 @@ app.use('/api/events', eventRoutes);
app.use('/api/gallery', galleryRoutes);
app.use('/api/admin', adminRoutes);
app.use('/api/admin/auth', adminAuthRoutes);
app.use('/api/public/settings', require('./src/routes/publicSettings'));
// Error handling middleware
app.use((err, req, res, next) => {