From 7a9115ed5e844d7bbbe1165a75a4540b68b06b51 Mon Sep 17 00:00:00 2001 From: Jonathan Cruz Date: Thu, 7 Mar 2024 21:19:33 -0500 Subject: [PATCH 1/2] Refactor boxer links to use baseUrl --- src/sections/SelectYourBoxer.astro | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sections/SelectYourBoxer.astro b/src/sections/SelectYourBoxer.astro index a78591099..28212d03c 100644 --- a/src/sections/SelectYourBoxer.astro +++ b/src/sections/SelectYourBoxer.astro @@ -8,6 +8,8 @@ const listOfBoxers = BOXERS.map((boxer) => { const countryName = COUNTRIES[country]?.name || "" return { ...boxer, countryName } }) + +const baseUrl = "#" ---
@@ -47,7 +49,7 @@ const listOfBoxers = BOXERS.map((boxer) => {

País

México

Ver combate @@ -58,7 +60,7 @@ const listOfBoxers = BOXERS.map((boxer) => {

Peso

61 kg

Ver perfil @@ -72,7 +74,7 @@ const listOfBoxers = BOXERS.map((boxer) => { Date: Thu, 7 Mar 2024 21:20:39 -0500 Subject: [PATCH 2/2] Refactor code formatting and indentation --- src/pages/404.astro | 14 +++++++------- src/sections/Hero.astro | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index 2e2309556..572093347 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -8,12 +8,12 @@ import Footer from "@/sections/Footer.astro" description="Web Oficial de La Velada del Año IV, evento de boxeo entre streamers y creadores de contenido, organizado por Ibai Llanos" title="La Velada del Año 4 - Página no encontrada" > -
- -
+
+ +