From b0f2bf142b7f79dbc1eef96f715e1a3e83b79f73 Mon Sep 17 00:00:00 2001 From: mouad bouras Date: Thu, 26 Mar 2026 16:27:05 -0400 Subject: [PATCH] faster hero --- src/components/ui/hero.tsx | 2 +- src/content/settings/general.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ui/hero.tsx b/src/components/ui/hero.tsx index 0859902..aba548d 100644 --- a/src/components/ui/hero.tsx +++ b/src/components/ui/hero.tsx @@ -29,7 +29,7 @@ const slides = [ ]; const autoplayPlugin = Autoplay({ - delay: 4000, + delay: general.carouselDelay, stopOnInteraction: false, stopOnMouseEnter: false, }); diff --git a/src/content/settings/general.json b/src/content/settings/general.json index 5782d71..e78f831 100644 --- a/src/content/settings/general.json +++ b/src/content/settings/general.json @@ -16,5 +16,6 @@ "instagram": "https://www.instagram.com/cachet.deco/", "linkedin": "", "rbq": "5839 8736 01", - "neq": "9500-5609" + "neq": "9500-5609", + "carouselDelay": 2500 }