From 4e045378461d5943856a8eff18aeaca09a012bb2 Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Thu, 31 Oct 2024 00:27:40 +0400 Subject: [PATCH] style: :art: --- app/components/organisms/Carousel.tsx | 39 ++++++++++++++++----------- app/components/organisms/Header.tsx | 2 +- app/routes/blog.$slug.tsx | 2 +- app/routes/blog._index.tsx | 11 +++++--- 4 files changed, 32 insertions(+), 22 deletions(-) diff --git a/app/components/organisms/Carousel.tsx b/app/components/organisms/Carousel.tsx index 67635be..4174c9d 100644 --- a/app/components/organisms/Carousel.tsx +++ b/app/components/organisms/Carousel.tsx @@ -13,23 +13,30 @@ export const Carousel = ({ items }: { items: Post[] }) => { key={item.id} className="carousel-item block w-full cursor-pointer transition-all duration-300 hover:bg-gray-100" > -
-

- {item.title} -

-

- Created at {item.publishDate.replace(/-/g, "/")} -

-
- {item.tags.map((tag) => ( - - {tag} - - ))} +
+
+

+ {item.title} +

+

+ Created at {item.publishDate.replace(/-/g, "/")} +

+
+ {item.tags.map((tag) => ( + + {tag} + + ))} +
+ {item.title}
))} diff --git a/app/components/organisms/Header.tsx b/app/components/organisms/Header.tsx index a2a6c30..602215c 100644 --- a/app/components/organisms/Header.tsx +++ b/app/components/organisms/Header.tsx @@ -15,7 +15,7 @@ export const Header = ({ backgroundImage }: HeaderProps) => { }} >
-
+
~/khaykingleb