Skip to content

Commit

Permalink
Merge pull request #670 from pradeeptosarkar/test
Browse files Browse the repository at this point in the history
version 2.0 building
  • Loading branch information
pradeeptosarkar authored Oct 26, 2024
2 parents 7b63285 + 94c6702 commit 09f2110
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,26 +247,28 @@ function Navbar() {
{isOpen && (
<NavLinks>
<NavbarLink
to="#"
to="/events"
className={activeNavLink === "/events" ? "active" : ""}
onClick={handleEventsDropdownToggle}
// onClick={handleEventsDropdownToggle} // Commented out to disable dropdown
>
<div>
Events
{activeNavLink === "/events" && (
<hr className="border-3 rounded-full" />
)}
</div>
<DropdownMenu ref={dropdownRef} show={eventsDropdownOpen}>
<DropdownItem to="/techx">TechXcelerate</DropdownItem>
<DropdownItem to="/nsos">
nameSpace Season of Open Source
</DropdownItem>
<DropdownItem to="/algorena">Algorena</DropdownItem>
<DropdownItem to="/hackhazards">HACKHAZARDS</DropdownItem>
<DropdownItem to="/events">All Events</DropdownItem>
</DropdownMenu>
{/* Commenting out the dropdown menu */}
{/* <DropdownMenu ref={dropdownRef} show={eventsDropdownOpen}>
<DropdownItem to="/techx">TechXcelerate</DropdownItem>
<DropdownItem to="/nsos">
nameSpace Season of Open Source
</DropdownItem>
<DropdownItem to="/algorena">Algorena</DropdownItem>
<DropdownItem to="/hackhazards">HACKHAZARDS</DropdownItem>
<DropdownItem to="/events">All Events</DropdownItem>
</DropdownMenu> */}
</NavbarLink>

<NavbarLink
to="#"
className={activeNavLink === "/partners" ? "active" : ""}
Expand All @@ -282,9 +284,7 @@ function Navbar() {
ref={partnersDropdownRef}
show={partnersDropdownOpen}
>
<DropdownItem to="/sponsor">
Sponsor Us
</DropdownItem>
<DropdownItem to="/sponsor">Sponsor Us</DropdownItem>
<DropdownItem to="/communitypartner">
Become a Community Partner
</DropdownItem>
Expand Down Expand Up @@ -345,6 +345,22 @@ function Navbar() {
<NavbarLinkExtended to="/">Home</NavbarLinkExtended>
{/* <NavbarLinkExtended to="/projects">Projects</NavbarLinkExtended> */}
<NavbarLinkExtended to="/events">Events</NavbarLinkExtended>
<NavbarLinkExtended to="/sponsor">Sponsor Us</NavbarLinkExtended>
<NavbarLinkExtended to="/communitypartner">
Become a Community Partner
</NavbarLinkExtended>
<NavbarLinkExtended to="/campusevangelist">
Become a Campus Evangelist
</NavbarLinkExtended>
<NavbarLinkExtended to="/team">Team</NavbarLinkExtended>

{/* <NavbarLinkExtended to="/resources">Resources</NavbarLinkExtended>
<NavbarLinkExtended to="/techx">TechXcelerate</NavbarLinkExtended>
<NavbarLinkExtended to="/nsos">
nameSpace Season of Open Source
</NavbarLinkExtended>
<NavbarLinkExtended to="/algorena">Algorena</NavbarLinkExtended>
<NavbarLinkExtended to="/hackhazards">HACKHAZARDS</NavbarLinkExtended> */}
<NavbarLinkExtended
to="https://namespacecomm.substack.com/"
target="_blank"
Expand All @@ -354,20 +370,6 @@ function Navbar() {
Newsletter
</NavbarLinkExtended>

<NavbarLinkExtended to="/team">Team</NavbarLinkExtended>
{/* <NavbarLinkExtended to="/resources">Resources</NavbarLinkExtended> */}
<NavbarLinkExtended to="/techx">TechXcelerate</NavbarLinkExtended>
<NavbarLinkExtended to="/nsos">
nameSpace Season of Open Source
</NavbarLinkExtended>
<NavbarLinkExtended to="/algorena">Algorena</NavbarLinkExtended>
<NavbarLinkExtended to="/hackhazards">HACKHAZARDS</NavbarLinkExtended>
<NavbarLinkExtended to="/communitypartner">
Become a Community Partner
</NavbarLinkExtended>
<NavbarLinkExtended to="/campusevangelist">
Become a Campus Evangelist
</NavbarLinkExtended>
<NavbarLinkExtended
to="http://blog.namespacecomm.in/"
target="_blank"
Expand Down

0 comments on commit 09f2110

Please sign in to comment.