Implement complete frontend with admin panel and theme system

- Add admin authentication and dashboard
- Create event management pages (list, create, edit, archive)
- Implement gallery enhancements (search, sorting, bulk download)
- Add email configuration and archive management pages
- Integrate Umami analytics with tracking throughout the app
- Add comprehensive error boundaries and loading states
- Implement accessibility features (WCAG 2.1 AA compliance)
- Create theme system with preset themes and customization
- Add branding settings and company information management
- Fix backend database initialization and health check
- Configure proper API URLs and environment variables

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-06 22:04:45 +02:00
parent 6c82958c79
commit 28632e8970
53 changed files with 13843 additions and 181 deletions
+2 -5
View File
@@ -3,11 +3,8 @@ import type { LoginResponse, GalleryAuthResponse } from '../types';
export const authService = {
// Admin authentication
async adminLogin(username: string, password: string): Promise<LoginResponse> {
const response = await api.post<LoginResponse>('/api/auth/admin/login', {
username,
password,
});
async adminLogin(credentials: { email: string; password: string }): Promise<LoginResponse> {
const response = await api.post<LoginResponse>('/api/auth/admin/login', credentials);
setAuthToken(response.data.token, true);
return response.data;