Spaces:
Running

axeronis commited on
Commit
bdb91d7
·
1 Parent(s): 34ac025

fix(ui): simplify infinity layout - remove gradients and manual theme-color for pure glass transparency

Browse files
frontend/app/layout.tsx CHANGED
@@ -22,7 +22,6 @@ export const viewport: Viewport = {
22
  maximumScale: 1,
23
  userScalable: false,
24
  viewportFit: 'cover',
25
- themeColor: '#050510',
26
  }
27
 
28
  export default function RootLayout({
 
22
  maximumScale: 1,
23
  userScalable: false,
24
  viewportFit: 'cover',
 
25
  }
26
 
27
  export default function RootLayout({
frontend/app/page.tsx CHANGED
@@ -347,7 +347,7 @@ export default function HomePage() {
347
  </div>
348
 
349
  {/* 1. NAVBAR - Minimalist Glass */}
350
- <nav className="fixed top-0 left-0 right-0 z-50 border-b border-white/5 bg-gradient-to-b from-[#050510] to-[#050510]/50 backdrop-blur-xl backdrop-saturate-[1.8] transition-all duration-300">
351
  {/* Background Glow Sync */}
352
  <div className="absolute inset-0 overflow-hidden pointer-events-none -z-10">
353
  <div className="absolute top-0 left-1/4 w-1/2 h-full bg-indigo-500/5 blur-[100px] rounded-full" />
 
347
  </div>
348
 
349
  {/* 1. NAVBAR - Minimalist Glass */}
350
+ <nav className="fixed top-0 left-0 right-0 z-50 bg-[#050510]/50 backdrop-blur-xl backdrop-saturate-[1.8] transition-all duration-300">
351
  {/* Background Glow Sync */}
352
  <div className="absolute inset-0 overflow-hidden pointer-events-none -z-10">
353
  <div className="absolute top-0 left-1/4 w-1/2 h-full bg-indigo-500/5 blur-[100px] rounded-full" />
frontend/components/MobileBottomNav.tsx CHANGED
@@ -53,7 +53,7 @@ export function MobileBottomNav() {
53
  animate={{ y: 0 }}
54
  exit={{ y: '100%' }}
55
  transition={{ type: 'spring', damping: 20, stiffness: 200 }}
56
- className="fixed bottom-0 left-0 right-0 z-40 bg-gradient-to-t from-[#050510] to-[#050510]/50 backdrop-blur-3xl backdrop-saturate-[1.8] pb-[env(safe-area-inset-bottom,0px)] md:hidden"
57
  >
58
  <div className="flex items-center justify-around h-[50px] px-2 relative">
59
  {/* Главная */}
 
53
  animate={{ y: 0 }}
54
  exit={{ y: '100%' }}
55
  transition={{ type: 'spring', damping: 20, stiffness: 200 }}
56
+ className="fixed bottom-0 left-0 right-0 z-40 bg-[#050510]/50 backdrop-blur-3xl backdrop-saturate-[1.8] pb-[env(safe-area-inset-bottom,0px)] md:hidden"
57
  >
58
  <div className="flex items-center justify-around h-[50px] px-2 relative">
59
  {/* Главная */}
frontend/components/MobileNav.tsx CHANGED
@@ -57,7 +57,7 @@ export function MobileHeader({ onOpen }: { onOpen?: () => void }) {
57
  const isUnlimited = limitDialogs === null || limitDialogs === undefined
58
 
59
  return (
60
- <div className="flex flex-col fixed top-0 left-0 right-0 z-[60] bg-gradient-to-b from-[#050510] to-[#050510]/50 backdrop-blur-3xl backdrop-saturate-[1.8] pt-[env(safe-area-inset-top,0px)] md:hidden">
61
  <div className="flex items-center justify-between px-3 h-[52px] text-white w-full relative">
62
  {/* Left: Logo + Brand Name */}
63
  <Link href="/settings/brain" className="flex items-center gap-2.5 active:scale-95 transition-transform">
 
57
  const isUnlimited = limitDialogs === null || limitDialogs === undefined
58
 
59
  return (
60
+ <div className="flex flex-col fixed top-0 left-0 right-0 z-[60] bg-[#050510]/50 backdrop-blur-3xl backdrop-saturate-[1.8] pt-[env(safe-area-inset-top,0px)] md:hidden">
61
  <div className="flex items-center justify-between px-3 h-[52px] text-white w-full relative">
62
  {/* Left: Logo + Brand Name */}
63
  <Link href="/settings/brain" className="flex items-center gap-2.5 active:scale-95 transition-transform">