From 509f7ac57b6c9c3060ddc86e0c1450e7cd4e6b3e Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 21 Sep 2025 13:54:03 +0200 Subject: [PATCH] Revert "fix: restructure video as global backdrop for iOS notch extension" This reverts commit ed92c458a99050707de187da641e3e6813ee95cf. --- apps/website/app.vue | 33 ---- apps/website/assets/css/voyage-layout.css | 18 ++- apps/website/components/HeroSection.vue | 106 +++++++++++- apps/website/components/VideoBackdrop.vue | 189 ---------------------- 4 files changed, 111 insertions(+), 235 deletions(-) delete mode 100644 apps/website/app.vue delete mode 100644 apps/website/components/VideoBackdrop.vue diff --git a/apps/website/app.vue b/apps/website/app.vue deleted file mode 100644 index 2e62e14..0000000 --- a/apps/website/app.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apps/website/assets/css/voyage-layout.css b/apps/website/assets/css/voyage-layout.css index c276b8a..c52b60d 100644 --- a/apps/website/assets/css/voyage-layout.css +++ b/apps/website/assets/css/voyage-layout.css @@ -410,8 +410,6 @@ html { /* Hero Section */ .hero-voyage { position: relative; - /* Hero is now transparent - video handled by VideoBackdrop component */ - background: transparent; height: 100vh; /* Fallback for browsers that don't support newer units */ height: -webkit-fill-available; /* iOS Safari - fills available space */ height: 100dvh; /* Dynamic viewport height */ @@ -1676,9 +1674,6 @@ html { /* Responsive */ @media (max-width: 768px) { .hero-voyage { - /* Hero is now transparent - video handled by VideoBackdrop component */ - position: relative; - background: transparent; padding: 0; /* iOS-specific height handling */ height: 100vh; @@ -1687,11 +1682,24 @@ html { min-height: 100vh; min-height: -webkit-fill-available; min-height: 100dvh; + /* Video will extend under notch - no padding-top here */ padding-bottom: env(safe-area-inset-bottom); overflow-x: hidden !important; max-width: 100vw !important; } + /* Make video container fixed on mobile to fill entire viewport including notch */ + .hero-video-container { + position: fixed !important; + inset: 0; + width: 100vw; + height: 100vh; + height: -webkit-fill-available; + height: 100dvh; + z-index: 0; + pointer-events: none; + } + .hero-content { /* Adjust padding to account for safe areas on all sides */ padding: clamp(1rem, 4vw, 2rem); diff --git a/apps/website/components/HeroSection.vue b/apps/website/components/HeroSection.vue index 907496a..92218bc 100644 --- a/apps/website/components/HeroSection.vue +++ b/apps/website/components/HeroSection.vue @@ -1,7 +1,36 @@