Add more reactive data to rerun tests
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Trenton Zimmer
2026-08-11 15:11:25 -04:00
parent f3cfe931b7
commit 8b08433e83
2 changed files with 25 additions and 5 deletions

View File

@@ -49,12 +49,14 @@ onMounted(() => {
>
<div v-if="show">
<div class="text-center">
<div class="">
<p class="mb-4 text-lg text-slate-300">Your #1 game this year</p>
<div>
<p class="mb-4 text-lg text-slate-300">
Your #{{ profile.personalRank }} game this year
</p>
<h1 class="text-2xl">You had...</h1>
<NumberDynamic
class="text-8xl mb-2 font-black text-emerald-600"
:value="1000"
:value="profile.data.total_plays"
/>
<h1 class="text-3xl font-bold">plays</h1>
</div>
@@ -65,7 +67,7 @@ onMounted(() => {
<div>
<NumberDynamic
class="text-4xl mb-2 font-black text-pink-300"
:value="4000"
:value="profile.data.attempts"
/>
<h1 class="text-3xl font-bold">scores</h1>
</div>
@@ -73,7 +75,7 @@ onMounted(() => {
<div>
<NumberDynamic
class="text-4xl mb-2 font-black text-amber-400"
:value="1000"
:value="profile.data.records"
/>
<h1 class="text-3xl font-bold">records</h1>
</div>

View File

@@ -15,45 +15,63 @@ const current = ref(0);
const profiles = [
{
game: GameConstants.DDR,
personalRank: 1,
username: "TRMAZI",
data: {
new: true,
total_plays: 100,
attempts: 100,
records: 100,
},
},
{
game: GameConstants.DDROMNI,
personalRank: 2,
username: "TRMAZI",
data: {
total_plays: 100,
attempts: 100,
records: 100,
},
},
{
game: GameConstants.IIDX,
personalRank: 3,
username: "TRMAZI",
data: {
total_plays: 100,
attempts: 100,
records: 100,
},
},
{
game: GameConstants.SDVX,
personalRank: 4,
username: "TRMAZI",
data: {
total_plays: 100,
attempts: 100,
records: 100,
},
},
{
game: GameConstants.TSUMTSUM,
personalRank: 5,
username: "TRMAZI",
data: {
total_plays: 100,
attempts: 100,
records: 100,
},
},
{
game: GameConstants.REFLEC_BEAT,
personalRank: 6,
username: "TRMAZI",
data: {
total_plays: 100,
attempts: 100,
records: 100,
},
},
];