Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
76dcf43
1
Parent(s): e406b98
fix(ui): finish immersive layout with gradient scrims (smooth transition to transparency)
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-[-1px] left-0 right-0 z-50 bg-[#0B0C15]
|
| 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-[-1px] left-0 right-0 z-50 bg-gradient-to-b from-[#0B0C15] via-[#0B0C15]/80 to-transparent pt-[calc(env(safe-area-inset-top,0px)+1px)] 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-[#0B0C15]
|
| 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-[#0B0C15] via-[#0B0C15]/80 to-transparent 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-[-1px] left-0 right-0 z-[60] bg-[#0B0C15]
|
| 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-[-1px] left-0 right-0 z-[60] bg-gradient-to-b from-[#0B0C15] via-[#0B0C15]/80 to-transparent pt-[calc(env(safe-area-inset-top,0px)+1px)] 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">
|