mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-07-19 09:19:31 -05:00
Update home screen card formatting
This commit is contained in:
parent
37f2b5d14b
commit
24dd3a67df
|
|
@ -52,7 +52,7 @@ defineProps({
|
|||
</BaseLevel>
|
||||
<BaseLevel mobile>
|
||||
<div>
|
||||
<h3 :class="color" class="text-lg leading-tight">
|
||||
<h3 :class="color" class="text-lg leading-tight mb-1.5">
|
||||
{{ label }}
|
||||
</h3>
|
||||
<h1 class="text-3xl leading-tight font-semibold">
|
||||
|
|
|
|||
|
|
@ -59,5 +59,8 @@ onMounted(() => {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div>{{ prefix }}{{ newValueFormatted }}{{ suffix }}</div>
|
||||
<div>
|
||||
{{ prefix }}{{ newValueFormatted }}
|
||||
<span class="text-gray-300 font-medium text-2xl">{{ suffix }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -131,9 +131,21 @@ function filterUserProfiles(userProfiles) {
|
|||
<div
|
||||
class="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 3xl:grid-cols-6 mb-6"
|
||||
>
|
||||
<CardBoxWidget :number="cumulativePlays" label="Cumulative Plays" />
|
||||
<CardBoxWidget :number="userProfiles.length" label="Games Played" />
|
||||
<CardBoxWidget :number="longestStreak" label="Longest Play Streak" />
|
||||
<CardBoxWidget
|
||||
:number="cumulativePlays"
|
||||
label="Cumulative Plays"
|
||||
suffix="plays"
|
||||
/>
|
||||
<CardBoxWidget
|
||||
:number="userProfiles.length"
|
||||
label="Games Played"
|
||||
suffix="games"
|
||||
/>
|
||||
<CardBoxWidget
|
||||
:number="longestStreak"
|
||||
label="Longest Play Streak"
|
||||
suffix="plays"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<SectionTitleLine :icon="mdiGamepad" title="Showcase" main />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user