From 84bd980182730ae03481eb4cac3a6c55f89e63a6 Mon Sep 17 00:00:00 2001 From: Carlos Andres Perez Ubeda Date: Tue, 12 Nov 2024 16:43:48 -0600 Subject: [PATCH] feat: update component styles and add author display - Removed inline height style from `carousel-top-titles` component to improve design consistency. - Added new icon `IconRosetteDiscountCheckFilled` for author verification in `poster-top-titles`. - Modified JSX structure and styles in `poster-top-titles` to center images and display author information. - Updated `explore` section to change titles in the content list. --- .../carousel/variants/carousel-top-titles.tsx | 1 - .../poster/variants/poster-top-titles.tsx | 38 +++++++++++++++++-- src/sections/explore/view.tsx | 8 ++-- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/src/components/carousel/variants/carousel-top-titles.tsx b/src/components/carousel/variants/carousel-top-titles.tsx index e3fa007d..0338343c 100644 --- a/src/components/carousel/variants/carousel-top-titles.tsx +++ b/src/components/carousel/variants/carousel-top-titles.tsx @@ -50,7 +50,6 @@ export default function CarouselTopTitles({ data, category }: Props) { return ( { zIndex: 0, }} > - {title} + + {title} + - + { {title} + + alert('Clicked') }> + + by + + + - + + Jhon Doe + + + + + {synopsis} diff --git a/src/sections/explore/view.tsx b/src/sections/explore/view.tsx index bed47346..3ce26291 100644 --- a/src/sections/explore/view.tsx +++ b/src/sections/explore/view.tsx @@ -51,25 +51,25 @@ export default function ExploreView() { { id: 1, desc: 'Description for the content trending during the week ', - title: 'The Lord of the Rings', + title: 'Jhon Doe', image: 'https://static0.srcdn.com/wordpress/wp-content/uploads/2023/09/lord-of-the-rings-movies-in-order.jpg' }, { id: 2, desc: 'Description for the content trending during the week ', - title: 'Resident Evil', + title: 'Dina Doe', image: 'https://i.blogs.es/6ff623/resident-evil-milla-jovovich/1366_2000.jpeg' }, { id: 3, desc: 'Description for the content trending during the week ', - title: 'Gladiator', + title: 'Lina Doe', image: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRSpAo-w7KfZSCvVq81iaatdILc-VWTw-2TkQ&s' }, { id: 4, desc: 'Description for the content trending during the week ', - title: 'Matrix', + title: 'Jane Doe', image: 'https://static.euronews.com/articles/stories/08/35/93/32/1440x810_cmsv2_c7416dac-8a99-57b8-b728-b28d69040539-8359332.jpg' } ];