From 92727bd72776737a7be66b287f403ad81547698c Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Tue, 3 Feb 2026 21:45:30 +0100 Subject: [PATCH] Revamp guest v2 upload camera controls --- resources/js/guest-v2/components/AppShell.tsx | 4 +- .../components/FloatingActionButton.tsx | 9 ++- .../js/guest-v2/screens/UploadScreen.tsx | 77 ++++++++++++++++--- 3 files changed, 78 insertions(+), 12 deletions(-) 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) {