Spaces:
Running
Running
axeronis commited on
Commit ·
fafae3e
1
Parent(s): a848251
fix(ui): implement fixed wallpaper strategy - detach backgrounds from scrolling body/page to ensure true infinity layout
Browse files
frontend/app/globals.css
CHANGED
|
@@ -186,12 +186,7 @@ html {
|
|
| 186 |
}
|
| 187 |
|
| 188 |
body {
|
| 189 |
-
background-color:
|
| 190 |
-
background-image:
|
| 191 |
-
radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
|
| 192 |
-
radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139, 92, 246, 0.1), transparent),
|
| 193 |
-
radial-gradient(ellipse 50% 30% at 0% 100%, rgba(236, 72, 153, 0.08), transparent);
|
| 194 |
-
background-attachment: fixed;
|
| 195 |
color: var(--foreground);
|
| 196 |
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
| 197 |
overflow-x: hidden;
|
|
|
|
| 186 |
}
|
| 187 |
|
| 188 |
body {
|
| 189 |
+
background-color: transparent;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
color: var(--foreground);
|
| 191 |
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
| 192 |
overflow-x: hidden;
|
frontend/app/page.tsx
CHANGED
|
@@ -336,7 +336,7 @@ export default function HomePage() {
|
|
| 336 |
}
|
| 337 |
|
| 338 |
return (
|
| 339 |
-
<div className="min-h-screen bg-
|
| 340 |
|
| 341 |
{/* Background Ambience - Aurora Borealis */}
|
| 342 |
<div className="fixed inset-0 z-0 pointer-events-none will-change-transform">
|
|
|
|
| 336 |
}
|
| 337 |
|
| 338 |
return (
|
| 339 |
+
<div className="min-h-screen bg-transparent overflow-x-hidden selection:bg-indigo-500/30 text-white font-sans">
|
| 340 |
|
| 341 |
{/* Background Ambience - Aurora Borealis */}
|
| 342 |
<div className="fixed inset-0 z-0 pointer-events-none will-change-transform">
|
frontend/components/layout/LayoutClient.tsx
CHANGED
|
@@ -44,7 +44,7 @@ export function LayoutClient({ children }: { children: React.ReactNode }) {
|
|
| 44 |
return (
|
| 45 |
<>
|
| 46 |
{/* Global Background Atmosphere - Synced with Landing */}
|
| 47 |
-
<div className="fixed inset-0 z-0 pointer-events-none overflow-hidden">
|
| 48 |
<div className="absolute top-[-10%] right-[-5%] w-[60%] h-[60%] bg-gradient-to-b from-cyan-500/10 via-emerald-500/5 to-transparent blur-[120px] rounded-full" />
|
| 49 |
<div className="absolute bottom-[-10%] left-[-10%] w-[60%] h-[60%] bg-gradient-to-t from-indigo-600/10 via-purple-600/5 to-transparent blur-[120px] rounded-full" />
|
| 50 |
</div>
|
|
|
|
| 44 |
return (
|
| 45 |
<>
|
| 46 |
{/* Global Background Atmosphere - Synced with Landing */}
|
| 47 |
+
<div className="fixed inset-0 z-0 pointer-events-none overflow-hidden bg-[#050510]">
|
| 48 |
<div className="absolute top-[-10%] right-[-5%] w-[60%] h-[60%] bg-gradient-to-b from-cyan-500/10 via-emerald-500/5 to-transparent blur-[120px] rounded-full" />
|
| 49 |
<div className="absolute bottom-[-10%] left-[-10%] w-[60%] h-[60%] bg-gradient-to-t from-indigo-600/10 via-purple-600/5 to-transparent blur-[120px] rounded-full" />
|
| 50 |
</div>
|