Skip to content

Commit

Permalink
add page hash links
Browse files Browse the repository at this point in the history
  • Loading branch information
itskdhere committed Aug 31, 2024
1 parent 501bc8a commit c383229
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,22 @@ const Navbar = () => {
</Group>

<Group h="100%" gap={0} visibleFrom="sm">
<a href="#" className={classes.link}>
<a href="/#home" className={classes.link}>
Home
</a>
<a href="#" className={classes.link}>
<a href="/#about" className={classes.link}>
About
</a>
<a href="/#events" className={classes.link}>
Events
</a>
<a href="#" className={classes.link}>
<a href="/#teams" className={classes.link}>
Teams
</a>
<a href="#" className={classes.link}>
<a href="/#faq" className={classes.link}>
FAQs
</a>
<a href="#" className={classes.link}>
<a href="/#contact" className={classes.link}>
Contact
</a>
</Group>
Expand Down Expand Up @@ -81,19 +84,22 @@ const Navbar = () => {
>
<ScrollArea>
<Divider my="sm" />
<a href="#" className={classes.link}>
<a href="/#home" className={classes.link}>
Home
</a>
<a href="#" className={classes.link}>
<a href="/#about" className={classes.link}>
About
</a>
<a href="/#events" className={classes.link}>
Events
</a>
<a href="#" className={classes.link}>
<a href="/#teams" className={classes.link}>
Teams
</a>
<a href="#" className={classes.link}>
<a href="/#faq" className={classes.link}>
FAQs
</a>
<a href="#" className={classes.link}>
<a href="/#contact" className={classes.link}>
Contact
</a>

Expand Down

0 comments on commit c383229

Please sign in to comment.