photo visibility for demo events, hardened the demo mode. fixed dark/light mode toggle and notification bell toggle. fixed photo upload page sizes & header visibility.

This commit is contained in:
Codex Agent
2025-12-18 21:14:24 +01:00
parent 7c4067b32b
commit 53ec427e6e
25 changed files with 965 additions and 102 deletions

View File

@@ -58,6 +58,7 @@ export interface EventData {
created_at: string;
updated_at: string;
join_token?: string | null;
demo_read_only?: boolean;
photobooth_enabled?: boolean | null;
type?: {
slug: string;
@@ -270,6 +271,7 @@ export async function fetchEvent(eventKey: string): Promise<EventData> {
engagement_mode: (json?.engagement_mode as 'tasks' | 'photo_only' | undefined) ?? 'tasks',
guest_upload_visibility:
json?.guest_upload_visibility === 'immediate' ? 'immediate' : 'review',
demo_read_only: Boolean(json?.demo_read_only),
};
if (json?.type) {