diff --git a/src/components/ui/NavbarFloating.tsx b/src/components/ui/NavbarFloating.tsx index dce6b28..7f8370e 100644 --- a/src/components/ui/NavbarFloating.tsx +++ b/src/components/ui/NavbarFloating.tsx @@ -1,4 +1,5 @@ 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"; @@ -31,17 +32,21 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => { return ( <> - + {menuOpen && ( -
setMenuOpen(false)} /> )} - +