Skip to content

Commit

Permalink
Added Snake to Stats Page
Browse files Browse the repository at this point in the history
  • Loading branch information
tech-n1c committed May 31, 2024
1 parent 2c45c91 commit bdef72e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend2shine/app/(stats)/stats/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,20 @@ export default function Stats() {
>
Röhrig-Clicker
</button>
<button
className={`mr-4 font-medium text-white bg-purple-600 rounded hover:text-gray-200 px-4 py-3 items-center transition duration-150 ease-in-out ${game === 'roehrig-clicker' ? 'border-2 border-white' : ''}`}
onClick={() => changeGame('snake')}
>
Snake Extreme
</button>
</div>

<div className="flex flex-col">
<div className="overflow-x-auto sm:-mx-6 lg:-mx-8">
<div className="inline-block min-w-full py-2 sm:px-6 lg:px-8">
<div className="overflow-hidden">
<table className="min-w-full text-left text-sm font-light text-surface dark:text-white">
<thead className="border-b border-neutral-200 font-medium dark:border-white/10">
<thead className="border-b border-neutral-200 font-medium dark:border-white/10">
<tr>
<th scope="col" className="px-6 py-4">Rank</th>
<th scope="col" className="px-6 py-4">Player</th>
Expand Down

0 comments on commit bdef72e

Please sign in to comment.