From 6c48ed2925c24b26c87003b9b23f5c140dbe63df Mon Sep 17 00:00:00 2001 From: Oier Bravo Urtasun Date: Sun, 22 Jun 2025 00:46:31 +0200 Subject: [PATCH] big card component --- client/src/components/BigCard.astro | 12 +++++++----- client/src/pages/index.astro | 9 +++++++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/client/src/components/BigCard.astro b/client/src/components/BigCard.astro index 730d974f..02ada9a9 100644 --- a/client/src/components/BigCard.astro +++ b/client/src/components/BigCard.astro @@ -2,9 +2,12 @@ // BigCard component - configurable card with link interface Props { url: string; + title: string; + description: string; + ctaText: string; } -const { url } = Astro.props; +const { url, title, description, ctaText } = Astro.props; ---
@@ -20,18 +23,17 @@ const { url } = Astro.props;

- Pole Elements + {title}

- Explore a comprehensive collection of pole dance elements, techniques, and combinations. - From basic spins to advanced tricks, discover everything you need to master pole sport. + {description}

- Explore Elements + {ctaText} diff --git a/client/src/pages/index.astro b/client/src/pages/index.astro index 28dfdfed..413523a5 100644 --- a/client/src/pages/index.astro +++ b/client/src/pages/index.astro @@ -1,13 +1,18 @@ --- // Import necessary components and utilities import Layout from "../layouts/Layout.astro"; -import ElementsCard from "../components/ElementsCard.astro"; +import BigCard from "../components/BigCard.astro"; ---
- +