From 7ab3b60462233f207196e0111f60aa70a336cfd1 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Fri, 22 Aug 2025 19:06:30 +0200 Subject: [PATCH] ok --- src/components/Carousel.jsx | 46 ++++++++++++++++--------------------- src/components/text.jsx | 6 ++--- 2 files changed, 23 insertions(+), 29 deletions(-) diff --git a/src/components/Carousel.jsx b/src/components/Carousel.jsx index 481315f..aca6eac 100644 --- a/src/components/Carousel.jsx +++ b/src/components/Carousel.jsx @@ -2,6 +2,7 @@ import React, { useState, useEffect, useRef } from 'react'; import clsx from 'clsx'; +import { H2, P, PS, PXS, H3 , H4 } from '@/components/text'; const cards = [ { @@ -70,42 +71,35 @@ const MultiCardCarousel = () => { const displayCards = isMobile ? [cards[currentIndex]] : cards.slice(currentIndex, currentIndex + 3); return ( -
+
-

+

Activities -

-

- Explore a diverse range of activities designed to elevate your Mind, Body, and Soul, fostering a deeper connection and holistic well-being. -

+ +

+ Explore a diverse range of activities designed to elevate your Mind, Body, and Soul. +

-
- {cards.map((card, index) => ( +
+ {cards.slice(0, 3).map((card, index) => (
- {card.title} -
-

{card.title}

-

{card.description}

+
+ {card.title} +
+
+

{card.title}

+ {card.description}
))} -
diff --git a/src/components/text.jsx b/src/components/text.jsx index e1f919c..61100f2 100644 --- a/src/components/text.jsx +++ b/src/components/text.jsx @@ -18,7 +18,7 @@ export function H2({ className, children, ...props }) { return (