fix some bug in some blocks

This commit is contained in:
mr.sabri
2026-07-23 06:55:21 +03:30
parent 89fbd6d158
commit edb3e10469
65 changed files with 1565 additions and 1476 deletions
+18 -3
View File
@@ -1,7 +1,6 @@
"use client";
import AutoScroll from "embla-carousel-auto-scroll";
import Autoplay from "embla-carousel-autoplay";
import { ArrowRight } from "lucide-react";
import React from "react";
@@ -186,7 +185,15 @@ const Hero230 = ({ className }: Hero230Props) => {
<div className="relative mx-auto flex items-center justify-center">
<Carousel
plugins={[AutoScroll({ playOnInit: true })]}
plugins={[
AutoScroll({
speed: 1,
startDelay: 0,
playOnInit: true,
stopOnInteraction: false,
stopOnMouseEnter: false,
}),
]}
opts={{ loop: true, align: "start" }}
>
<CarouselContent className="ms-0">
@@ -211,7 +218,15 @@ const Hero230 = ({ className }: Hero230Props) => {
</div>
<div className="relative mx-auto -mt-12 flex items-center justify-center">
<Carousel
plugins={[Autoplay({ delay: 1500 })]}
plugins={[
AutoScroll({
speed: 1,
startDelay: 0,
playOnInit: true,
stopOnInteraction: false,
stopOnMouseEnter: false,
}),
]}
opts={{ loop: true, align: "start" }}
>
<CarouselContent>