diff --git a/src/components/PhotoWallPresentChrome.tsx b/src/components/PhotoWallPresentChrome.tsx index f1de469..c0ba9ad 100644 --- a/src/components/PhotoWallPresentChrome.tsx +++ b/src/components/PhotoWallPresentChrome.tsx @@ -47,6 +47,15 @@ export function PhotoWallPresentChrome({ spotlightSources, onSpotlightSourceChange, onAllSpotlightSourcesChange, + spotlightLists, + selectedSpotlightListId = null, + onSpotlightListChange, + onSpotlightReset, + sourcesViewSelected = true, + spotlightQuizzes, + selectedSpotlightQuizId = null, + onSpotlightQuizChange, + pageTitle = "", }: { event?: PhotoWallPublicEvent | null; eventHeader?: PhotoWallEventHeaderDisplay | null; @@ -57,6 +66,15 @@ export function PhotoWallPresentChrome({ spotlightSources?: Record; onSpotlightSourceChange?: (source: SpotlightSource, enabled: boolean) => void; onAllSpotlightSourcesChange?: (enabled: boolean) => void; + spotlightLists?: { id: string; name: string }[]; + selectedSpotlightListId?: string | null; + onSpotlightListChange?: (id: string | null) => void; + onSpotlightReset?: () => void; + sourcesViewSelected?: boolean; + spotlightQuizzes?: { id: string; name: string }[]; + selectedSpotlightQuizId?: string | null; + onSpotlightQuizChange?: (id: string) => void; + pageTitle?: string; }) { const [menuOpen, setMenuOpen] = useState(false); const [menuMounted, setMenuMounted] = useState(false); @@ -122,8 +140,9 @@ export function PhotoWallPresentChrome({ return ( <> -
-
+
+
+
{flags.showLogo ? ( logoSrc ? ( @@ -172,19 +191,24 @@ export function PhotoWallPresentChrome({
) : null} +
+
- - + {pageTitle.trim() ? ( +

+ {pageTitle.trim()} +

+ ) : null}
{flags.showBanner ? ( @@ -223,7 +247,7 @@ export function PhotoWallPresentChrome({ -