added skeleton for leaderboard

This commit is contained in:
poipiii
2022-12-21 22:46:52 +08:00
parent 55c79b98f1
commit 69bac33c28
3 changed files with 89 additions and 0 deletions
@@ -0,0 +1,18 @@
export function RankItem({username,score}){
return(
<div className="flex flex-row justify-between p-6 border-2 border-slate-100 text-left font-semibold hover:bg-sky-50">
<div>1</div>
<div>@username</div>
<div>20.5</div>
<div>gold</div>
</div>
)
}