From 8fae9823f4201be58c4c96927427e31ae0753465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Dur=C3=A1n?= Date: Tue, 27 Feb 2024 10:03:36 +0100 Subject: [PATCH] Add description to index.page --- src/layouts/Layout.astro | 14 +++++++------- src/pages/index.astro | 21 ++++++++++++--------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f3a8fe36c..969380711 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,12 +2,11 @@ import "@fontsource-variable/jost" interface Props { + description: string title: string } -const { title } = Astro.props -const descriptionPage = - "Web oficial de La Velada IV, evento de boxeo entre streamers y creadores de contenido, organizado por Ibai Llanos" +const { title, description } = Astro.props --- @@ -16,7 +15,7 @@ const descriptionPage = {title} - + @@ -26,14 +25,14 @@ const descriptionPage = - + - + - + @@ -42,6 +41,7 @@ const descriptionPage = +
- -
- - - -
-