Skip to content

Commit

Permalink
Feat(hall-of-flame): update content and minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThulinaWickramasinghe committed Aug 19, 2024
1 parent ced050b commit 18826db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/components/layout/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,15 @@ const Header = ({ className }) => {
to={isHallOfFame ? "/" : "/hall-of-fame"}
onClick={() => window.scrollTo({ top: 0, behavior: "smooth" })}
aria-label="Home"
className="hidden xsm:flex gap-2"
className="ml-[-1.6125rem] gap-2"
>
<div className="group flex gap-1.5 items-center">
<span className="link ml-8 xl:ml-0">{isHallOfFame ? "Leaderboard" : "Hall of Fame"}</span>
<LinkIcon className="transform -rotate-45 before:w-[1.2rem] xl:before:w-[0.6rem] before:group-hover:w-[1.45rem] xl:before:group-hover:w-[0.75rem] translate-y-[-0.1rem]" />
</div>
</Link>
<div className="group flex gap-1.5 items-center">
<a href="https://bashaway.sliitfoss.org" target="_blank" className="link ml-8 xl:ml-0" rel="noreferrer">
Competition
The Competition
</a>
<LinkIcon className="transform -rotate-45 before:w-[1.2rem] xl:before:w-[0.6rem] before:group-hover:w-[1.45rem] xl:before:group-hover:w-[0.75rem] translate-y-[-0.1rem]" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/hall-of-fame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ const HallOfFame = () => {
if (page !== 1) setPage(1);
}, [filters, sorts, round, ghostLegion]);

useTitle("Leaderboard | Bashaway");
useTitle("Hall of Fame | Bashaway");

return (
<>
<div className="w-full flex flex-col justify-center items-center gap-6 mb-8 max-w-4xl">
<div className="flex flex-col items-center gap-2 md:gap-1 mb-2">
<Title className="tracking-normal pointer-events-none">Hall of Fame 2023</Title>
<Footnote className="text-black/40 max-w-[500px] text-xl lg:text-center leading-6 pointer-events-none">
A tribute to legendary warriors
A tribute to legendary warriors who once marched amongst us with unwavering valour
</Footnote>
<TwinSwitch values={rounds} className="mt-5" onChange={onRoundChange} selectedValue={roundKey} />
</div>
Expand Down

0 comments on commit 18826db

Please sign in to comment.