Spaces:
Running
Running
axeronis commited on
Commit ·
c428d9d
1
Parent(s): 1abecab
fix(landing): remove mix-blend-screen and add GPU acceleration to fix scroll artifacts
Browse files- frontend/app/page.tsx +8 -8
frontend/app/page.tsx
CHANGED
|
@@ -97,12 +97,12 @@ export default function HomePage() {
|
|
| 97 |
return (
|
| 98 |
<div className="min-h-screen bg-[#050510] overflow-x-hidden selection:bg-indigo-500/30 text-white font-sans">
|
| 99 |
|
| 100 |
-
{/* Background Ambience - Aurora Borealis
|
| 101 |
-
<div className="fixed inset-0 z-0 pointer-events-none">
|
| 102 |
{/* Top Right Cyan/Green Aurora */}
|
| 103 |
-
<div className="absolute top-[-10%] right-[-5%] w-[60%] h-[60%] bg-gradient-to-b from-cyan-500/
|
| 104 |
{/* Bottom Left Purple/Blue Aurora */}
|
| 105 |
-
<div className="absolute bottom-[-10%] left-[-10%] w-[60%] h-[60%] bg-gradient-to-t from-indigo-600/
|
| 106 |
</div>
|
| 107 |
|
| 108 |
{/* 1. NAVBAR - Minimalist Glass */}
|
|
@@ -176,15 +176,15 @@ export default function HomePage() {
|
|
| 176 |
initial={{ opacity: 0, scale: 0.9 }}
|
| 177 |
animate={{ opacity: 1, scale: 1 }}
|
| 178 |
transition={{ duration: 1, delay: 0.2 }}
|
| 179 |
-
className="relative lg:h-[700px] flex items-center justify-center -mr-20"
|
| 180 |
>
|
| 181 |
-
{/* Back Glow
|
| 182 |
-
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[
|
| 183 |
|
| 184 |
<motion.div
|
| 185 |
animate={{ y: [0, -20, 0] }}
|
| 186 |
transition={{ duration: 6, repeat: Infinity, ease: "easeInOut" }}
|
| 187 |
-
className="relative z-10 w-full"
|
| 188 |
>
|
| 189 |
<img
|
| 190 |
src="/hero-3d.png"
|
|
|
|
| 97 |
return (
|
| 98 |
<div className="min-h-screen bg-[#050510] overflow-x-hidden selection:bg-indigo-500/30 text-white font-sans">
|
| 99 |
|
| 100 |
+
{/* Background Ambience - Aurora Borealis */}
|
| 101 |
+
<div className="fixed inset-0 z-0 pointer-events-none will-change-transform">
|
| 102 |
{/* Top Right Cyan/Green Aurora */}
|
| 103 |
+
<div className="absolute top-[-10%] right-[-5%] w-[60%] h-[60%] bg-gradient-to-b from-cyan-500/15 via-emerald-500/8 to-transparent blur-[120px] rounded-full" />
|
| 104 |
{/* Bottom Left Purple/Blue Aurora */}
|
| 105 |
+
<div className="absolute bottom-[-10%] left-[-10%] w-[60%] h-[60%] bg-gradient-to-t from-indigo-600/15 via-purple-600/8 to-transparent blur-[120px] rounded-full" />
|
| 106 |
</div>
|
| 107 |
|
| 108 |
{/* 1. NAVBAR - Minimalist Glass */}
|
|
|
|
| 176 |
initial={{ opacity: 0, scale: 0.9 }}
|
| 177 |
animate={{ opacity: 1, scale: 1 }}
|
| 178 |
transition={{ duration: 1, delay: 0.2 }}
|
| 179 |
+
className="relative lg:h-[700px] flex items-center justify-center -mr-20 will-change-transform"
|
| 180 |
>
|
| 181 |
+
{/* Back Glow */}
|
| 182 |
+
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[100%] h-[100%] bg-cyan-500/15 blur-[80px] rounded-full pointer-events-none" />
|
| 183 |
|
| 184 |
<motion.div
|
| 185 |
animate={{ y: [0, -20, 0] }}
|
| 186 |
transition={{ duration: 6, repeat: Infinity, ease: "easeInOut" }}
|
| 187 |
+
className="relative z-10 w-full will-change-transform"
|
| 188 |
>
|
| 189 |
<img
|
| 190 |
src="/hero-3d.png"
|