File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ function LandingPage() {
8989 title = "3D Vehicle Scene"
9090 allow = "autoplay"
9191 />
92- { /* Gradient overlays */ }
92+ { /* Gradient overlays - pointer-events-none so they never block the iframe */ }
9393 < div
94- className = { `absolute inset-0 transition-opacity duration-700 ${
94+ className = { `absolute inset-0 pointer-events-none transition-opacity duration-700 ${
9595 is3DMode ? "opacity-10" : "opacity-100"
9696 } `}
9797 >
@@ -103,7 +103,7 @@ function LandingPage() {
103103 { /* Hero Content */ }
104104 < div
105105 className = { `relative z-10 text-center px-6 max-w-4xl mx-auto transition-all duration-700 ${
106- is3DMode ? "opacity-10 blur-sm scale-95" : "opacity-100"
106+ is3DMode ? "opacity-10 blur-sm scale-95 pointer-events-none " : "opacity-100"
107107 } `}
108108 style = { { opacity : is3DMode ? 0.1 : heroOpacity } }
109109 >
You can’t perform that action at this time.
0 commit comments