We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ca6d9 commit 2116d01Copy full SHA for 2116d01
apps/web/src/app/(main)/(landing)/layout.tsx
@@ -1,10 +1,8 @@
1
-import Navbar from '@/components/landing-sections/navbar'
2
import React from 'react'
3
4
const Layout = ({ children }: { children: React.ReactNode }) => {
5
return (
6
<section>
7
- <Navbar />
8
{children}
9
</section>
10
)
apps/web/src/components/landing-sections/navbar.tsx
@@ -46,7 +46,7 @@ const Navbar = () => {
46
47
<motion.nav
48
initial={{ opacity: 0 }}
49
- animate={showNavbar ? { opacity: 1 } : { opacity: 0 }}
+ animate={showNavbar ? { opacity: 1 } : { opacity: 0, display: 'none' }}
50
transition={{ duration: 0.3 }}
51
className={cn(
52
" z-40 flex items-center justify-between px-4 py-3 bg-neutral-900/5 backdrop-blur-xl border-white/10",
0 commit comments