diff --git a/src/consts/combats.ts b/src/consts/combats.ts
index 342bfc658..d632a0600 100644
--- a/src/consts/combats.ts
+++ b/src/consts/combats.ts
@@ -8,6 +8,7 @@ export const COMBATS: Combat[] = [
boxers: ["carreraaa", "agustin-51"],
titleSize: [1920, 1012],
title: "Agustin 51 vs Carreraaa",
+ videoUrl: "https://www.youtube.com/watch?v=IPbkwObKdlU",
},
{
id: "2-guanyar-vs-la-cobra",
@@ -15,6 +16,7 @@ export const COMBATS: Combat[] = [
boxers: ["guanyar", "la-cobra"],
titleSize: [1920, 927],
title: "Guanyar vs La Cobra",
+ videoUrl: "https://www.youtube.com/watch?v=jdchidzFY6Y",
},
{
id: "3-zeling-y-nissaxter-vs-alana-y-ama-blitz",
@@ -23,6 +25,7 @@ export const COMBATS: Combat[] = [
teams: ["zeling-nissaxter", "alana-ama-blitz"],
titleSize: [1525, 1525],
title: "Zeling y Nissaxter vs Alana y Ama Blitz",
+ videoUrl: "https://www.youtube.com/watch?v=yF-ahJkOYyI",
},
{
id: "4-viruzz-vs-shelao",
@@ -30,6 +33,7 @@ export const COMBATS: Combat[] = [
boxers: ["viruzz", "shelao"],
titleSize: [1623, 1077],
title: "Viruzz vs Shelao",
+ videoUrl: "https://www.youtube.com/watch?v=qW2lfuM8uH4",
},
{
id: REY_DE_LA_PISTA_ID,
@@ -48,6 +52,7 @@ export const COMBATS: Combat[] = [
],
titleSize: [1185, 1139],
title: "Rey de la Pista",
+ videoUrl: "https://www.youtube.com/watch?v=m8Is6KAYIZ4",
},
{
id: "6-el-mariana-vs-plex",
@@ -55,5 +60,6 @@ export const COMBATS: Combat[] = [
boxers: ["plex", "el-mariana"],
titleSize: [1920, 950],
title: "El Mariana vs Plex",
+ videoUrl: "https://www.youtube.com/watch?v=WnryYJ0k-_0",
},
]
diff --git a/src/pages/combates/[id].astro b/src/pages/combates/[id].astro
index b3cea2ade..3e3d92bb0 100644
--- a/src/pages/combates/[id].astro
+++ b/src/pages/combates/[id].astro
@@ -1,6 +1,7 @@
---
import { Image } from "astro:assets"
+import Action from "@/components/Action.astro"
import BackgroundVideo from "@/components/Combates/BackgroundVideo.astro"
import { COMBATS, REY_DE_LA_PISTA_ID } from "@/consts/combats"
import Layout from "@/layouts/Layout.astro"
@@ -35,7 +36,7 @@ if (!combatData) {
}
}
-const { teams, boxers } = combatData
+const { teams, boxers, videoUrl } = combatData
const [slug1, slug2] = teams ?? boxers
const [image1, image2] = [
{ alt: slug1.replaceAll("-", " "), src: createImgRoute(combatData.number, slug1) },
@@ -102,6 +103,19 @@ export const prerender = true
{combatData.boxers.length <= 4 &&