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)} /> )} - + - + {logo} @@ -66,15 +61,9 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => { - + {menuOpen && ( - + {navItems.map((item, index) => ( @@ -101,9 +90,9 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => { - + )} - + >