Spaces:
Sleeping

axeronis commited on
Commit
a986883
·
1 Parent(s): be0a401

fix(ui): use gradients to blend solid edges into transparent glass for seamless infinity

Browse files
frontend/app/layout.tsx CHANGED
@@ -22,6 +22,7 @@ export const viewport: Viewport = {
22
  maximumScale: 1,
23
  userScalable: false,
24
  viewportFit: 'cover',
 
25
  }
26
 
27
  export default function RootLayout({
 
22
  maximumScale: 1,
23
  userScalable: false,
24
  viewportFit: 'cover',
25
+ themeColor: '#050510',
26
  }
27
 
28
  export default function RootLayout({
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-[#050510]/70 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-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
  {/* Главная */}
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-[#050510]/70 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-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">