diff --git a/src/app/components/Navbar.tsx b/src/app/components/Navbar.tsx index efc78bd..fd7a4fd 100644 --- a/src/app/components/Navbar.tsx +++ b/src/app/components/Navbar.tsx @@ -1,39 +1,84 @@ -import React from 'react' +import React, { useState } from 'react'; import Image from 'next/image'; -import Logo from '../public/Logo.png' -import '@/styles.css' +import Logo from '../public/Logo.png'; +import '@/styles.css'; + const Navbar = () => { - const navItems = [ - { label: 'Home', id: 'home' }, - { label: 'Team', id: 'team' }, - { label: 'Projects', id: 'projects' }, - { label: 'Events', id: 'events' }, - { label: 'Notice', id: 'notice' }, - ]; + const [isOpen, setIsOpen] = useState(false); // State for mobile menu + + const navItems = [ + { label: 'Home', id: 'home' }, + { label: 'Team', id: 'team' }, + { label: 'Projects', id: 'projects' }, + { label: 'Events', id: 'events' }, + { label: 'Notice', id: 'notice' }, + ]; + return ( -