From fa3a31282bd37a2579d77d2403208ffe4006fd2d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 8 May 2026 06:54:49 +0000 Subject: [PATCH] feat: apply glassmorphic effect to the navbar --- src/components/ui/NavbarFloating.tsx | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/src/components/ui/NavbarFloating.tsx b/src/components/ui/NavbarFloating.tsx index 7f8370e..dce6b28 100644 --- a/src/components/ui/NavbarFloating.tsx +++ b/src/components/ui/NavbarFloating.tsx @@ -1,5 +1,4 @@ import { useState, useEffect } from "react"; -import { motion, AnimatePresence } from "motion/react"; import { Plus, ArrowUpRight } from "lucide-react"; import { cls } from "@/lib/utils"; import Button from "@/components/ui/Button"; @@ -32,21 +31,17 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => { return ( <> - + {menuOpen && ( - setMenuOpen(false)} /> )} - +