From b97f5de101a98a53e2804e7bd46b1c665f081df7 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Tue, 3 Feb 2026 21:56:07 +0100 Subject: [PATCH] Group guest v2 fab controls --- resources/js/guest-v2/components/AppShell.tsx | 80 ++++++++++++------- .../components/FloatingActionButton.tsx | 17 ++-- 2 files changed, 64 insertions(+), 33 deletions(-) diff --git a/resources/js/guest-v2/components/AppShell.tsx b/resources/js/guest-v2/components/AppShell.tsx index 1598710..9f63020 100644 --- a/resources/js/guest-v2/components/AppShell.tsx +++ b/resources/js/guest-v2/components/AppShell.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { YStack } from '@tamagui/stacks'; +import { XStack, YStack } from '@tamagui/stacks'; import { Button } from '@tamagui/button'; import { Sparkles, Share2, Image, Camera, Settings, Home, Menu } from 'lucide-react'; import { useLocation, useNavigate } from 'react-router-dom'; @@ -34,6 +34,9 @@ export default function AppShell({ children }: AppShellProps) { 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 dockBackground = isDark ? 'rgba(12, 16, 32, 0.72)' : 'rgba(255, 255, 255, 0.9)'; + const dockBorder = isDark ? 'rgba(255,255,255,0.16)' : 'rgba(15,23,42,0.12)'; + const dockShadow = isDark ? '0 14px 28px rgba(2, 6, 23, 0.5)' : '0 12px 24px rgba(15, 23, 42, 0.14)'; const goTo = (path: string) => () => { setCompassOpen(false); @@ -128,28 +131,7 @@ export default function AppShell({ children }: AppShellProps) { {children} {showFab ? ( - <> - {isUploadRoute ? null : ( - - )} -