From 0f332fde79ae1e22e3b6323a6c6524240e80d9e8 Mon Sep 17 00:00:00 2001 From: Ardeman Date: Mon, 17 Mar 2025 19:21:34 +0800 Subject: [PATCH] refactor: simplify layout in CarouselSection for improved readability --- app/components/ui/carousel-section.tsx | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/app/components/ui/carousel-section.tsx b/app/components/ui/carousel-section.tsx index 1e5b9e3..8e317ba 100644 --- a/app/components/ui/carousel-section.tsx +++ b/app/components/ui/carousel-section.tsx @@ -95,19 +95,18 @@ export const CarouselSection = (properties: TNews) => { alt={title} />
- - -
-

+
+ +

{title}

-

- {stripHtml(content).result} -

+

+ {stripHtml(content).result} +