Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
c9b3703
1
Parent(s): 2ac27a5
feat: Boundless immersive design - seamless navbar and infinite footer
Browse files- Navbar now uses gradient fade (transparent to content) instead of solid glass
- Removed hard border from navbar for seamless blending with Hero
- Footer has fade-to-infinity gradient effect
- Added floating 'back to top' button with glass effect
- Bottom fade to black creates endless scrolling illusion
- frontend/app/page.tsx +22 -9
frontend/app/page.tsx
CHANGED
|
@@ -364,12 +364,10 @@ export default function HomePage() {
|
|
| 364 |
<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" />
|
| 365 |
</div>
|
| 366 |
|
| 367 |
-
{/* 1. NAVBAR -
|
| 368 |
-
<nav className="fixed top-
|
| 369 |
-
{/*
|
| 370 |
-
<div className="absolute inset-0
|
| 371 |
-
<div className="absolute top-0 left-1/4 w-1/2 h-full bg-indigo-500/5 blur-[100px] rounded-full" />
|
| 372 |
-
</div>
|
| 373 |
|
| 374 |
<div className="max-w-7xl mx-auto px-6 h-16 flex items-center justify-between relative z-10">
|
| 375 |
<Link href="/" className="flex items-center gap-3 group">
|
|
@@ -884,9 +882,21 @@ export default function HomePage() {
|
|
| 884 |
</div>
|
| 885 |
</section>
|
| 886 |
|
| 887 |
-
{/* 10. FOOTER -
|
| 888 |
-
<footer className="py-16
|
| 889 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 890 |
<div className="col-span-1 md:col-span-2">
|
| 891 |
<div className="flex items-center justify-center md:justify-start gap-2 mb-6">
|
| 892 |
<img src="/logo-v2.png" alt="MicroFunnel" className="w-6 h-6 grayscale opacity-50" />
|
|
@@ -905,6 +915,9 @@ export default function HomePage() {
|
|
| 905 |
<Link href="/refund" className="block py-2 hover:text-white transition">Refund Policy</Link>
|
| 906 |
</div>
|
| 907 |
</div>
|
|
|
|
|
|
|
|
|
|
| 908 |
</footer>
|
| 909 |
|
| 910 |
{/* Custom CSS for slow marquee */}
|
|
|
|
| 364 |
<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" />
|
| 365 |
</div>
|
| 366 |
|
| 367 |
+
{/* 1. NAVBAR - Seamless Transparent */}
|
| 368 |
+
<nav className="fixed top-0 left-0 right-0 z-50 pt-[env(safe-area-inset-top,0px)] transition-all duration-300">
|
| 369 |
+
{/* Subtle gradient fade instead of solid background */}
|
| 370 |
+
<div className="absolute inset-0 bg-gradient-to-b from-[#050510]/90 via-[#050510]/50 to-transparent pointer-events-none" />
|
|
|
|
|
|
|
| 371 |
|
| 372 |
<div className="max-w-7xl mx-auto px-6 h-16 flex items-center justify-between relative z-10">
|
| 373 |
<Link href="/" className="flex items-center gap-3 group">
|
|
|
|
| 882 |
</div>
|
| 883 |
</section>
|
| 884 |
|
| 885 |
+
{/* 10. FOOTER - Fade to Infinity */}
|
| 886 |
+
<footer className="relative py-16 text-sm text-slate-500 pb-[env(safe-area-inset-bottom)]">
|
| 887 |
+
{/* Fade to infinity gradient overlay */}
|
| 888 |
+
<div className="absolute inset-0 bg-gradient-to-t from-[#050510] via-transparent to-transparent pointer-events-none" />
|
| 889 |
+
|
| 890 |
+
{/* Floating Back to Top */}
|
| 891 |
+
<button
|
| 892 |
+
onClick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}
|
| 893 |
+
className="fixed bottom-8 right-8 w-12 h-12 rounded-full bg-white/10 backdrop-blur-lg border border-white/10 flex items-center justify-center text-white/60 hover:text-white hover:bg-white/20 transition-all z-50 shadow-2xl"
|
| 894 |
+
aria-label="Back to top"
|
| 895 |
+
>
|
| 896 |
+
<ChevronDown className="w-5 h-5 rotate-180" />
|
| 897 |
+
</button>
|
| 898 |
+
|
| 899 |
+
<div className="relative z-10 max-w-7xl mx-auto px-6 grid grid-cols-1 md:grid-cols-4 gap-12 text-center md:text-left">
|
| 900 |
<div className="col-span-1 md:col-span-2">
|
| 901 |
<div className="flex items-center justify-center md:justify-start gap-2 mb-6">
|
| 902 |
<img src="/logo-v2.png" alt="MicroFunnel" className="w-6 h-6 grayscale opacity-50" />
|
|
|
|
| 915 |
<Link href="/refund" className="block py-2 hover:text-white transition">Refund Policy</Link>
|
| 916 |
</div>
|
| 917 |
</div>
|
| 918 |
+
|
| 919 |
+
{/* Bottom fade to black */}
|
| 920 |
+
<div className="absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-black to-transparent pointer-events-none" />
|
| 921 |
</footer>
|
| 922 |
|
| 923 |
{/* Custom CSS for slow marquee */}
|