fix(mobile): completely remove 3D geometric shape from mobile home screen background
This commit is contained in:
@@ -275,9 +275,9 @@ export function HeroSection({
|
||||
size={0.7}
|
||||
/>
|
||||
|
||||
{/* 2. Interactive 3D WebGL Crystal Prism Canvas Rotating Behind the Text */}
|
||||
<div className="absolute inset-0 -z-10 flex items-center justify-center pointer-events-none select-none overflow-hidden">
|
||||
<div className="w-[700px] h-[700px] sm:w-[1000px] sm:h-[1000px] lg:w-[1300px] lg:h-[1300px] opacity-85 transform-gpu transition-opacity duration-1000">
|
||||
{/* 2. Interactive 3D WebGL Crystal Prism Canvas (Desktop Only - Completely Removed on Phones & Mobile Devices) */}
|
||||
<div className="hidden lg:flex absolute inset-0 -z-10 items-center justify-center pointer-events-none select-none overflow-hidden">
|
||||
<div className="w-[1000px] h-[1000px] lg:w-[1300px] lg:h-[1300px] opacity-85 transform-gpu transition-opacity duration-1000">
|
||||
<Hero3DCanvas className="w-full h-full" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user