11"use client" ;
22import { useState } from "react" ;
3- import Link from "next/link" ;
3+ // import Link from "next/link";
44
55const Navbar = ( ) => {
6- const [ dropdownOpen , setDropdownOpen ] = useState ( false ) ;
6+ // const [dropdownOpen, setDropdownOpen] = useState(false);
77 const [ menuOpen , setMenuOpen ] = useState ( false ) ;
88
9- const toggleDropdown = ( ) => {
10- setDropdownOpen ( ( prevState ) => ! prevState ) ;
11- } ;
9+ // const toggleDropdown = () => {
10+ // setDropdownOpen((prevState) => !prevState);
11+ // };
1212
1313 const toggleMenu = ( ) => {
1414 setMenuOpen ( ( prevState ) => ! prevState ) ;
@@ -19,17 +19,17 @@ const Navbar = () => {
1919 < div className = "max-w-screen-xl flex items-center md:justify-between mx-auto py-5" >
2020 { /* Logo Section */ }
2121 < div className = "flex flex-row font-poppins font-bold text-[26px] z-10 items-center relative text-black" >
22- Logo
22+ Repeto
2323 </ div >
2424
2525 { /* Links for Desktop */ }
2626 < div className = "hidden md:flex justify-around gap-8 text-[17.5px] font-inter text-black" >
27- < Link href = "/" > Home</ Link >
28- < Link href = "/Gallery" > Gallery</ Link >
29- < Link href = "/Calender" > Calendar</ Link >
27+ { /* <Link href="/">Home</Link> */ }
28+ { /* <Link href="/Gallery">Gallery</Link>
29+ <Link href="/Calender">Calendar</Link> */ }
3030
3131 < div className = "relative" >
32- < button
32+ { /* <button
3333 onClick={toggleDropdown}
3434 className="flex items-center focus:outline-none"
3535 >
@@ -46,9 +46,9 @@ const Navbar = () => {
4646 clipRule="evenodd"
4747 />
4848 </svg>
49- </ button >
49+ </button> */ }
5050
51- { dropdownOpen && (
51+ { /* { dropdownOpen && (
5252 <div className="absolute mt-2 w-40 bg-white border rounded-md shadow-lg z-50">
5353 <Link
5454 href="/Newsletter"
@@ -69,7 +69,7 @@ const Navbar = () => {
6969 Reviews
7070 </Link>
7171 </div>
72- ) }
72+ )} */ }
7373 </ div >
7474 </ div >
7575
@@ -93,13 +93,13 @@ const Navbar = () => {
9393 </ button >
9494
9595 { /* Repeto Button */ }
96- < button >
97- < Link href = "/repeto " >
96+ { /* <button>
97+ <Link href="/">
9898 <div className="w-[117px] h-[45px] bg-[#000000] rounded-3xl text-white font-davidLibre hidden md:flex justify-center items-center text-[15.5px] hover:bg-white drop-shadow-lg hover:text-black">
99- Repeto
99+ Home
100100 </div>
101101 </Link>
102- </ button >
102+ </button> */ }
103103 </ div >
104104
105105 { /* Dropdown Menu for Small Screens */ }
@@ -108,17 +108,17 @@ const Navbar = () => {
108108 menuOpen ? "block" : "hidden"
109109 } md:hidden absolute left-0 top-20 w-full space-y-2 bg-white text-center shadow-lg z-40 py-4`}
110110 >
111- < Link href = "/" className = "block px-4 py-2 text-black hover:bg-gray-100" >
111+ { /* <Link href="/" className="block px-4 py-2 text-black hover:bg-gray-100">
112112 Home
113113 </Link>
114114 <Link href="/" className="block px-4 py-2 text-black hover:bg-gray-100">
115115 Campus
116116 </Link>
117117 <Link href="/" className="block px-4 py-2 text-black hover:bg-gray-100">
118118 Calendar
119- </ Link >
119+ </Link> */ }
120120 < div className = "relative text-center" >
121- < button
121+ { /* <button
122122 onClick={toggleDropdown}
123123 className="flex items-center justify-center w-full px-4 py-2 text-black focus:outline-none"
124124 >
@@ -135,9 +135,9 @@ const Navbar = () => {
135135 clipRule="evenodd"
136136 />
137137 </svg>
138- </ button >
138+ </button> */ }
139139
140- { dropdownOpen && (
140+ { /* { dropdownOpen && (
141141 <div className="absolute w-full bg-white border rounded-md shadow-lg z-50">
142142 <Link
143143 href="/option1"
@@ -158,15 +158,15 @@ const Navbar = () => {
158158 Option 3
159159 </Link>
160160 </div>
161- ) }
161+ )} */ }
162162 </ div >
163- < button >
164- < Link href = "/repeto " >
163+ { /* <button>
164+ <Link href="/https://codecompasss.github.io/code_compass_india/ ">
165165 <div className="w-[117px] h-[45px] bg-[#000000] rounded-3xl text-white font-davidLibre flex justify-center items-center text-[15.5px] hover:bg-white drop-shadow-lg hover:text-black">
166- Repeto
166+ Home
167167 </div>
168168 </Link>
169- </ button >
169+ </button> */ }
170170 </ div >
171171 </ nav >
172172 ) ;
0 commit comments