Skip to content

Commit

Permalink
Revert "hotfix: remove trading volume and leaderboard" (#2486)
Browse files Browse the repository at this point in the history
This reverts commit 122cb5c.
  • Loading branch information
saboonikhil authored Feb 28, 2025
1 parent 2dd1f5a commit 6f126bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/front-page/NetworkStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ const NetworkStats = ({
}) => {
return (
<div className="relative z-10 mt-10 flex w-full flex-col gap-4 sm:flex-row">
{/* <StatCard
<StatCard
title="All-time trading volume"
value={`$${new Intl.NumberFormat("en-US", {
maximumSignificantDigits: 5,
}).format(totalVolumeUsd)}`}
/> */}
/>
<StatCard title="Markets Created" value={marketCount.toString()} />
<StatCard title="Total Traders" value={tradersCount.toString()} />
</div>
Expand Down
8 changes: 4 additions & 4 deletions components/top-bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const TopBar = () => {
</Link>
)}
</Menu.Item>
{/*

<div className="block md:hidden">
<Menu.Item>
{({ active }) => (
Expand All @@ -163,7 +163,7 @@ const TopBar = () => {
</Link>
)}
</Menu.Item>
</div> */}
</div>

<CategoriesMenuItem onSelect={close} />

Expand Down Expand Up @@ -217,15 +217,15 @@ const TopBar = () => {
</div>
</Link>

{/* <Link
<Link
className="md:center relative hidden gap-2 font-light text-white md:flex"
href="/leaderboard/year"
>
<div className="relative hidden md:flex flex-col items-center">
<FiAward size="20px" />
<div className="hidden md:block text-xs">Leaderboard</div>
</div>
</Link> */}
</Link>

</div>
<MarketSearch />
Expand Down

0 comments on commit 6f126bc

Please sign in to comment.