Spaces:
Sleeping

axeronis commited on
Commit
dbd6346
·
1 Parent(s): e2e256a

fix: Restored navbar blur effect and removed footer black bar

Browse files
Files changed (1) hide show
  1. frontend/app/page.tsx +6 -9
frontend/app/page.tsx CHANGED
@@ -364,10 +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 - 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">
@@ -440,8 +440,8 @@ export default function HomePage() {
440
  <button
441
  onClick={toggleHeroAudio}
442
  className={`flex items-center justify-center gap-3 px-6 py-3 rounded-xl font-bold transition-all ${isHeroPlaying
443
- ? 'bg-red-500/20 text-red-400 border border-red-500/30'
444
- : 'bg-white/10 text-white border border-white/20 hover:bg-white/15 hover:border-white/30'
445
  }`}
446
  >
447
  {isHeroPlaying ? (
@@ -918,9 +918,6 @@ export default function HomePage() {
918
  <Link href="/refund" className="block py-2 hover:text-white transition">Refund Policy</Link>
919
  </div>
920
  </div>
921
-
922
- {/* Bottom fade to black */}
923
- <div className="absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-black to-transparent pointer-events-none" />
924
  </footer>
925
 
926
  {/* 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 - Glass with Seamless Blend */}
368
+ <nav className="fixed top-0 left-0 right-0 z-50 backdrop-blur-xl pt-[env(safe-area-inset-top,0px)] transition-all duration-300">
369
+ {/* Gradient fade that blends with content */}
370
+ <div className="absolute inset-0 bg-gradient-to-b from-[#050510]/80 via-[#050510]/40 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">
 
440
  <button
441
  onClick={toggleHeroAudio}
442
  className={`flex items-center justify-center gap-3 px-6 py-3 rounded-xl font-bold transition-all ${isHeroPlaying
443
+ ? 'bg-red-500/20 text-red-400 border border-red-500/30'
444
+ : 'bg-white/10 text-white border border-white/20 hover:bg-white/15 hover:border-white/30'
445
  }`}
446
  >
447
  {isHeroPlaying ? (
 
918
  <Link href="/refund" className="block py-2 hover:text-white transition">Refund Policy</Link>
919
  </div>
920
  </div>
 
 
 
921
  </footer>
922
 
923
  {/* Custom CSS for slow marquee */}