Skip to content

Commit

Permalink
Merge branch 'midudev:main' into feature/added-navigation-to-allies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroSuero authored May 16, 2024
2 parents d7f0352 + e524111 commit 6d0caee
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/Pronosticos/Vote.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ votes.forEach((vote) => {
<div class="flex items-center justify-center gap-4">
<img class="size-12 rounded-full" src={user.image} alt={`Avatar del usuario ${user.name}`} />
<div class="flex flex-col justify-center">
<h4 class="text-lg font-bold">{user.name}</h4>
<button id="logout" class="text-sm font-light text-yellow-300">Cerrar sesión</button>
<h4 class="-mb-1 text-lg font-bold">{user.name}</h4>
<button id="logout" class="text-sm font-light text-accent hover:underline"
>Cerrar sesión</button
>
</div>
</div>

Expand Down
6 changes: 6 additions & 0 deletions src/consts/combats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,29 @@ export const COMBATS: Combat[] = [
number: 1,
boxers: ["carreraaa", "agustin-51"],
titleSize: [1920, 1012],
title: "Agustin 51 vs Carreraaa",
},
{
id: "2-guanyar-vs-la-cobra",
number: 2,
boxers: ["guanyar", "la-cobra"],
titleSize: [1920, 927],
title: "Guanyar vs La Cobra",
},
{
id: "3-zeling-y-nissaxter-vs-alana-y-ama-blitz",
number: 3,
boxers: ["zeling", "nissaxter", "alana", "ama-blitz"],
teams: ["zeling-nissaxter", "alana-ama-blitz"],
titleSize: [1525, 1525],
title: "Zeling y Nissaxter vs Alana y Ama Blitz",
},
{
id: "4-viruzz-vs-shelao",
number: 4,
boxers: ["viruzz", "shelao"],
titleSize: [1623, 1077],
title: "Viruzz vs Shelao",
},
{
id: REY_DE_LA_PISTA_ID,
Expand All @@ -43,11 +47,13 @@ export const COMBATS: Combat[] = [
"will",
],
titleSize: [1185, 1139],
title: "Rey de la Pista",
},
{
id: "6-el-mariana-vs-plex",
number: 6,
boxers: ["plex", "el-mariana"],
titleSize: [1920, 950],
title: "El Mariana vs Plex",
},
]
2 changes: 1 addition & 1 deletion src/pages/combates/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const prerender = true
---

<Layout
title={`Combate #${combatData.number} - La Velada del Año IV`}
title={`${combatData.titleCombate #${combatData.number} de La Velada del Año IV`}
description={`Combate entre ${formattedBoxerNames} en La Velada del Año IV`}
image={`https://cdn.lavelada.dev/matches/og-${id}-min.jpg`}
>
Expand Down
1 change: 1 addition & 0 deletions src/types/Combat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export interface Combat {
boxers: string[] // es un string porque hace referencia a los ids de los boxeadores
teams?: string[]
titleSize: [number, number]
title: string
}

0 comments on commit 6d0caee

Please sign in to comment.