Spaces:
Running

axeronis commited on
Commit
747e07c
·
1 Parent(s): 2d3a576

fix(ui): apply strict immersive layout specs - rgba(11,12,21,0.8) glass headers with borders and safe-area padding

Browse files
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 bg-black/20 backdrop-blur-xl 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-[#0B0C15]/80 backdrop-blur-xl border-b border-white/10 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-black/30 backdrop-blur-2xl 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-[#0B0C15]/80 backdrop-blur-2xl border-t border-white/10 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-black/30 backdrop-blur-2xl 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-[#0B0C15]/80 backdrop-blur-2xl border-b border-white/10 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">