feat: implementa rota de ranking de jogos

This commit is contained in:
2026-05-23 18:09:30 -05:00
parent 6a17151bef
commit 5a4917c4a1
4 changed files with 341 additions and 6 deletions

View File

@@ -20,11 +20,17 @@
</p>
</div>
<button type="button" :disabled="isLeaving" @click="sair"
class="inline-flex h-10 items-center justify-center gap-2 rounded-full bg-[#292524] px-5 text-[15px] font-medium leading-none text-white transition hover:bg-[#0c0a09] active:bg-[#0c0a09] disabled:cursor-not-allowed disabled:opacity-70">
<Icon v-if="isLeaving" name="mdi:loading" class="animate-spin text-base" />
<span v-else>Sair</span>
</button>
<div class="flex flex-col gap-3 sm:flex-row">
<NuxtLink to="/ranking-jogos"
class="inline-flex h-10 items-center justify-center rounded-full border border-[#d6d3d1] bg-transparent px-5 text-[15px] font-medium leading-none text-[#0c0a09] transition hover:border-[#0c0a09]">
Ver rankings
</NuxtLink>
<button type="button" :disabled="isLeaving" @click="sair"
class="inline-flex h-10 items-center justify-center gap-2 rounded-full bg-[#292524] px-5 text-[15px] font-medium leading-none text-white transition hover:bg-[#0c0a09] active:bg-[#0c0a09] disabled:cursor-not-allowed disabled:opacity-70">
<Icon v-if="isLeaving" name="mdi:loading" class="animate-spin text-base" />
<span v-else>Sair</span>
</button>
</div>
</header>
<section