From 25f870ccc0630ca16cf058d226bfb9897f0c230b Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Thu, 23 May 2024 14:39:43 +0000 Subject: [PATCH] feat: dark mode --- apps/marketing/src/components/(marketing)/carousel.tsx | 8 +++----- apps/marketing/src/components/(marketing)/thumb.tsx | 9 ++++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/apps/marketing/src/components/(marketing)/carousel.tsx b/apps/marketing/src/components/(marketing)/carousel.tsx index 51ee3fed0..22261b205 100644 --- a/apps/marketing/src/components/(marketing)/carousel.tsx +++ b/apps/marketing/src/components/(marketing)/carousel.tsx @@ -82,8 +82,6 @@ export const Carousel = () => { resetProgress(); const autoplay = emblaApi.plugins()?.autoplay; - console.log(autoplay); - if (autoplay) { autoplay.reset(); } @@ -182,8 +180,8 @@ export const Carousel = () => { -
- +
+ {selectedIndex + 1}/{slides.length} @@ -191,7 +189,7 @@ export const Carousel = () => {
-
+
What's new
diff --git a/apps/marketing/src/components/(marketing)/thumb.tsx b/apps/marketing/src/components/(marketing)/thumb.tsx index c4a690292..5a1783d04 100644 --- a/apps/marketing/src/components/(marketing)/thumb.tsx +++ b/apps/marketing/src/components/(marketing)/thumb.tsx @@ -16,9 +16,12 @@ export const Thumb: React.FC = (props) => {