weiterer fortschritt mit tamagui und dem neuen mobile event admin

This commit is contained in:
Codex Agent
2025-12-10 20:01:47 +01:00
parent 73e550ee87
commit 7b01a77083
26 changed files with 761 additions and 139 deletions

View File

@@ -26,7 +26,14 @@ const appRoot = async () => {
const { ToastProvider } = await import('./components/ToastHost');
const { LocaleProvider } = await import('./i18n/LocaleContext');
const { default: MatomoTracker } = await import('@/components/analytics/MatomoTracker');
const matomoConfig = (window as any).__MATOMO_GUEST__ as { enabled?: boolean; url?: string; siteId?: string };
const rawMatomo = (window as any).__MATOMO_GUEST__ as { enabled?: boolean; url?: string; siteId?: string } | undefined;
const matomoConfig = rawMatomo
? {
enabled: Boolean(rawMatomo.enabled),
url: rawMatomo.url ?? '',
siteId: rawMatomo.siteId ?? '',
}
: undefined;
// Register a minimal service worker for background sync (best-effort)
if ('serviceWorker' in navigator) {