Skip to content

Commit

Permalink
Readded the menuItemStyle
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Rohan <[email protected]>
  • Loading branch information
isidrohan committed Jan 8, 2025
1 parent 0e594ee commit 4ac7dcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function Navbar({ scrollToExplore }: { scrollToExplore: any }) {
<div
style={{
cursor: "pointer",
...menuItemStyle("home", false),
}}
onMouseEnter={() => setHovered("home")}
onMouseLeave={() => setHovered(null)}
Expand Down Expand Up @@ -145,6 +146,7 @@ function Navbar({ scrollToExplore }: { scrollToExplore: any }) {
<div
style={{
cursor: "pointer",
...menuItemStyle("explore", false),
}}
onClick={scrollToExplore}
onMouseEnter={() => setHovered("explore")}
Expand All @@ -155,6 +157,7 @@ function Navbar({ scrollToExplore }: { scrollToExplore: any }) {
</div>
<div
style={{
...menuItemStyle("explore", false),
cursor: "pointer",
}}
onMouseEnter={() => setHovered("help")}
Expand Down

0 comments on commit 4ac7dcc

Please sign in to comment.