diff --git a/src/components/PhotoWallCropModal.tsx b/src/components/PhotoWallCropModal.tsx index c6f181f..d6f3d73 100644 --- a/src/components/PhotoWallCropModal.tsx +++ b/src/components/PhotoWallCropModal.tsx @@ -49,7 +49,7 @@ export function PhotoWallCropModal({ return (
Crop your photo
Adjust to match the wall photo ratio before uploading. diff --git a/src/pages/LoginPage.tsx b/src/pages/LoginPage.tsx index 9160ff6..fbfad60 100644 --- a/src/pages/LoginPage.tsx +++ b/src/pages/LoginPage.tsx @@ -260,7 +260,6 @@ export function LoginPage() {
{headline} - {/* Novel Lung Health Summit 2026 Kochi 22nd & 23rd August 2026 */}
{preview?.subtitle ? ({preview.subtitle}
diff --git a/src/pages/PhotoSearchPage.tsx b/src/pages/PhotoSearchPage.tsx index 8072a22..42ad2a3 100644 --- a/src/pages/PhotoSearchPage.tsx +++ b/src/pages/PhotoSearchPage.tsx @@ -191,7 +191,7 @@ function MatchCard({ @@ -202,7 +202,7 @@ function MatchCard({ key={item.key} type="button" onClick={() => void onShare(item.key)} - className="inline-flex h-[34px] w-[34px] items-center justify-center rounded-lg border-0 border-[var(--theme-card-text-color)]/45 bg-[var(--theme-card-color)]/80 text-xs font-semibold text-[var(--theme-card-text-color)]" + className="inline-flex h-[34px] w-[34px] items-center justify-center rounded-lg border-0 border-[var(--theme-card-text-color)]/45 bg-[var(--theme-card-text-color)]/50 text-xs font-semibold text-[var(--theme-card-text-color)]" >Photo Wall
-Photo Wall
+{p.displayName} diff --git a/src/pages/PhotoWallUploadPage.tsx b/src/pages/PhotoWallUploadPage.tsx index bc21f95..21a5bb7 100644 --- a/src/pages/PhotoWallUploadPage.tsx +++ b/src/pages/PhotoWallUploadPage.tsx @@ -10,12 +10,14 @@ import { import { Download, ImagePlus, + Loader2, Share2, } from "lucide-react"; import { useParams } from "react-router-dom"; -import { AuthShell } from "../components/auth/AuthShell"; +import { HeaderMobile } from "../components/HeaderMobile"; +import { MobileShell } from "../components/MobileShell"; import { PhotoWallCropModal } from "../components/PhotoWallCropModal"; -import { PhotoWallEventHeader } from "../components/PhotoWallEventHeader"; +import { PublicEventChrome } from "../components/PublicEventChrome"; import { SharePlatformIcon } from "../components/SharePlatformIcon"; import { getPhotoWallUploadMeta, @@ -45,13 +47,29 @@ function fieldKey(f: PhotoWallPublicFormField): string { return String(f.name || f.label || "").trim(); } -function WhiteCard({ children }: { children: ReactNode }) { +function PhotoWallLayout({ + children, + meta, +}: { + children: ReactNode; + meta?: PhotoWallUploadMeta | null; +}) { return ( -
Missing upload link
-Missing upload link
+Loading…
-Loading…
+{err}
-{err}
++ {framing ? "Hang tight — we're adding your frame." : "This may take a moment."} +
+Preparing your photo…
+{actionMsg}
: null} - - + {actionMsg ?{actionMsg}
: null} + + ); } return ( -
{meta?.form?.description || "Add a selfie to the event photo wall."}
@@ -518,13 +572,13 @@ export function PhotoWallUploadPage() {
type="button"
disabled={picking}
onClick={() => fileRef.current?.click()}
- className="flex w-full flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed border-[#ccc] bg-[#fafafa] px-4 py-8 text-sm text-[#666] hover:border-[#D32F2F] hover:bg-[#fff5f5]"
+ className="flex w-full flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed border-[var(--theme-card-text-color)]/30 bg-[var(--theme-card-color)]/80 px-4 py-4 text-sm text-[var(--theme-card-text-color)] hover:border-[var(--theme-button-color)]/70"
>
{previewUrl ? (
) : (
<>
-
{actionMsg}
: null} + {actionMsg ?{actionMsg}
: null} );