Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
izaakwalz committed Jul 8, 2024
1 parent cf693fd commit 644e09e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/app/(dashboard)/leaderboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type LeaderProps = {
winner?: boolean;
};

export function LeaderBoardCard({ points, winner }: LeaderProps) {
function LeaderBoardCard({ points, winner }: LeaderProps) {
return (
<div className={cn('flex w-full items-center justify-between rounded-lg p-2')}>
<div className="flex items-center gap-6">
Expand All @@ -30,7 +30,8 @@ export function LeaderBoardCard({ points, winner }: LeaderProps) {
</div>
);
}
async function ChampionCard() {

function ChampionCard() {
return (
<>
<div className="flex justify-between">
Expand All @@ -51,12 +52,20 @@ async function ChampionCard() {
</>
);
}

export default function Page() {
return (
<Shell>
<div className="flex justify-between">
<div className="flex items-center gap-2">
<img className="size-10 rounded-full" src="/images/user.png" alt="Rounded avatar" />
<Image
className="size-10 rounded-full"
src="/images/user.png"
width={40}
height={40}
priority
alt="Rounded avatar"
/>
<p className=" ml-3">Deal Real Dev</p>
<span className="me-2 rounded-xl bg-[#DC7DA63D] px-2.5 py-0.5 text-xs text-white shadow-none ">
1Ay00011DY...
Expand Down

0 comments on commit 644e09e

Please sign in to comment.