diff --git a/resources/ts/front/Components/Base/MobileSlider.tsx b/resources/ts/front/Components/Base/MobileSlider.tsx index 5a93eae2..5bab94eb 100644 --- a/resources/ts/front/Components/Base/MobileSlider.tsx +++ b/resources/ts/front/Components/Base/MobileSlider.tsx @@ -121,7 +121,7 @@ export default function MobileSlider({ {/* Dot indicators, mobile only */} {showDots && slideCount > 1 && ( -
+
{(() => { const MAX_DOTS = 5; let translateIndex = 0; @@ -139,7 +139,7 @@ export default function MobileSlider({ style={{ width: slideCount > MAX_DOTS ? "5.75rem" : "auto" }} >
MAX_DOTS && translateIndex < slideCount - MAX_DOTS && i === translateIndex + MAX_DOTS - 1; - let dotClass = - "w-3 h-3 bg-primary-foreground/30 hover:bg-primary-foreground/60"; + let dotClass = "w-3 h-3 bg-primary hover:bg-primary/85"; if (i === currentIndex) { - dotClass = "w-3 h-3 bg-primary-foreground scale-110"; + dotClass = "w-5 h-5 bg-primary-foreground scale-110"; } else if (isLeftEdge || isRightEdge) { dotClass = - "w-2 h-2 bg-primary-foreground/30 hover:bg-primary-foreground/60"; + "w-2.5 h-2.5 bg-primary/70 hover:bg-primary/90"; } return (