diff --git a/resources/js/guest-v2/components/AppShell.tsx b/resources/js/guest-v2/components/AppShell.tsx index 5ac483cd..d5648967 100644 --- a/resources/js/guest-v2/components/AppShell.tsx +++ b/resources/js/guest-v2/components/AppShell.tsx @@ -32,6 +32,7 @@ export default function AppShell({ children }: AppShellProps) { const { isDark } = useGuestThemeVariant(); const actionIconColor = isDark ? '#F8FAFF' : '#0F172A'; const matomoEnabled = typeof window !== 'undefined' && Boolean((window as any).__MATOMO_GUEST__?.enabled); + const isUploadRoute = /\/upload(?:\/|$)/.test(location.pathname); const showFab = !/\/photo\/\d+/.test(location.pathname); const goTo = (path: string) => () => { @@ -145,13 +146,14 @@ export default function AppShell({ children }: AppShellProps) {