Skip to content

Commit

Permalink
Made leaderboard public
Browse files Browse the repository at this point in the history
  • Loading branch information
code-wolf-byte committed Nov 13, 2024
1 parent 0c25aa4 commit fe1da32
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/components/Navigation/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ const navLinks = [
name: "HackSoDA24",
id_href: "https://hack.thesoda.io",
cssClass: "nav-text-animation",
},
{
name: "Leaderboard",
id_href: "https://thesoda.io/leaderboard",
cssClass: "nav-text-animation",
}
];

Expand Down Expand Up @@ -61,6 +66,11 @@ export default function DesktopNav() {
name: "HackSoDA24",
id_href: "https://hack.thesoda.io",
cssClass: "nav-text-animation",
},
{
name: "Leaderboard",
id_href: "https://thesoda.io/leaderboard",
cssClass: "nav-text-animation",
}
];

Expand Down
11 changes: 10 additions & 1 deletion src/components/Navigation/Mobile/OpenedMobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,18 @@ export default function OpenedMobileNav({ setIsOpen }: setIsOpenTypes) {
e.preventDefault();
handleNavigation("https://hack.thesoda.io");
}}
>
>
<h1 className="text-[20px]">HackSoDA24</h1>
</a>
<a
href="https://thesoda.io/leaderboard"
onClick={(e) => {
e.preventDefault();
handleNavigation("https://thesoda.io/leaderboard");
}}
>
<h1 className="text-[20px]">Leaderboard</h1>
</a>
</div>
</div>
</section>
Expand Down

0 comments on commit fe1da32

Please sign in to comment.