weitere verbesserungen der Guest PWA (vor allem TaskPicker)

This commit is contained in:
Codex Agent
2025-11-12 13:19:28 +01:00
parent 1cec116933
commit d91108c883
20 changed files with 2306 additions and 653 deletions

View File

@@ -13,6 +13,7 @@ import { DEFAULT_LOCALE, isLocaleCode } from './i18n/messages';
import { useTranslation, type TranslateFn } from './i18n/useTranslation';
import type { EventBranding } from './types/event-branding';
import type { EventBrandingPayload, FetchEventErrorCode } from './services/eventApi';
import { NotificationCenterProvider } from './context/NotificationCenterContext';
const LandingPage = React.lazy(() => import('./pages/LandingPage'));
const ProfileSetupPage = React.lazy(() => import('./pages/ProfileSetupPage'));
@@ -109,13 +110,15 @@ function EventBoundary({ token }: { token: string }) {
<LocaleProvider defaultLocale={eventLocale} storageKey={localeStorageKey}>
<EventBrandingProvider branding={branding}>
<EventStatsProvider eventKey={token}>
<div className="pb-16">
<Header eventToken={token} />
<div className="px-4 py-3">
<Outlet />
<NotificationCenterProvider eventToken={token}>
<div className="pb-16">
<Header eventToken={token} />
<div className="px-4 py-3">
<Outlet />
</div>
<BottomNav />
</div>
<BottomNav />
</div>
</NotificationCenterProvider>
</EventStatsProvider>
</EventBrandingProvider>
</LocaleProvider>
@@ -134,10 +137,12 @@ function SetupLayout() {
<LocaleProvider defaultLocale={eventLocale} storageKey={localeStorageKey}>
<EventBrandingProvider branding={branding}>
<EventStatsProvider eventKey={token}>
<div className="pb-0">
<Header eventToken={token} />
<Outlet />
</div>
<NotificationCenterProvider eventToken={token}>
<div className="pb-0">
<Header eventToken={token} />
<Outlet />
</div>
</NotificationCenterProvider>
</EventStatsProvider>
</EventBrandingProvider>
</LocaleProvider>