Compare commits
4 Commits
version_22
...
version_25
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5141485438 | ||
| 2fc38ce197 | |||
|
|
a41574603f | ||
| e1cb829536 |
@@ -52,7 +52,7 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
|
|||||||
<nav
|
<nav
|
||||||
className={cls(
|
className={cls(
|
||||||
"fixed z-1000 top-3 left-3 right-3 transition-all duration-500 ease-in-out",
|
"fixed z-1000 top-3 left-3 right-3 transition-all duration-500 ease-in-out",
|
||||||
isScrolled ? "h-15 bg-background/80 backdrop-blur-sm rounded-lg" : "h-20 bg-background/0 backdrop-blur-0"
|
isScrolled ? "h-15 bg-background/80 backdrop-blur-[2px] rounded-lg" : "h-20 bg-background/0 backdrop-blur-0"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="relative mx-auto flex items-center justify-between h-full w-content-width">
|
<div className="relative mx-auto flex items-center justify-between h-full w-content-width">
|
||||||
@@ -93,7 +93,7 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
|
|||||||
<div
|
<div
|
||||||
ref={menuRef}
|
ref={menuRef}
|
||||||
|
|
||||||
className="md:hidden fixed z-1000 top-3 left-3 right-3 p-6 rounded-lg bg-background/80 backdrop-blur-sm"
|
className="md:hidden fixed z-1000 top-3 left-3 right-3 p-6 rounded-lg bg-background/80 backdrop-blur-[2px]"
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between mb-6">
|
<div className="flex items-center justify-between mb-6">
|
||||||
<p className="text-xl text-foreground">Menu</p>
|
<p className="text-xl text-foreground">Menu</p>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
|||||||
<>
|
<>
|
||||||
{menuOpen && (
|
{menuOpen && (
|
||||||
<div
|
<div
|
||||||
className="fixed inset-0 z-500 bg-black/20 backdrop-blur-lg"
|
className="fixed inset-0 z-500 bg-black/20 backdrop-blur-md"
|
||||||
onClick={() => setMenuOpen(false)}
|
onClick={() => setMenuOpen(false)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@@ -41,8 +41,7 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
|||||||
|
|
||||||
<nav className="fixed z-1000 top-5 left-1/2 -translate-x-1/2 w-content-width">
|
<nav className="fixed z-1000 top-5 left-1/2 -translate-x-1/2 w-content-width">
|
||||||
<div className={cls(
|
<div className={cls(
|
||||||
"mx-auto w-full md:w-1/2 overflow-hidden rounded-theme-capped border border-white/10 bg-white/10 shadow-lg",
|
"mx-auto w-full md:w-1/2 overflow-hidden rounded-theme-capped border border-white/10 bg-white/10 shadow-lg backdrop-blur-lg"
|
||||||
menuOpen ? "backdrop-blur-lg" : "backdrop-blur-lg"
|
|
||||||
)}>
|
)}>
|
||||||
<div className="relative z-10 flex items-center justify-between gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5">
|
<div className="relative z-10 flex items-center justify-between gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5">
|
||||||
<a href="/" className="text-xl font-medium text-foreground">{logo}</a>
|
<a href="/" className="text-xl font-medium text-foreground">{logo}</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user