diff --git a/components/pageParts/hero.tsx b/components/pageParts/hero.tsx
index 780178a..d894c25 100644
--- a/components/pageParts/hero.tsx
+++ b/components/pageParts/hero.tsx
@@ -3,6 +3,39 @@
import { motion } from "framer-motion";
import Image from "next/image";
import Text from "../lib_components/text";
+import { Swiper, SwiperSlide } from "swiper/react";
+import { Navigation, Autoplay } from "swiper/modules";
+import "swiper/css";
+import "swiper/css/navigation";
+import { ArrowLeft, ArrowRight } from "lucide-react";
+
+const slider = [
+ {
+ id: 1,
+ image: "/2.jpg",
+ title:
+ "Ishonchli SpesTexnika — sizning loyihangiz uchun eng yaxshi tanlov!",
+ desc: "Biz eng so‘nggi texnikalar, maxsus transportlar va qurilish uskunalarini qulay narxda taqdim etamiz.",
+ },
+ {
+ id: 2,
+ image: "/4.jpg",
+ title:
+ "Ishonchli SpesTexnika — sizning loyihangiz uchun eng yaxshi tanlov!",
+ desc: "Biz eng so‘nggi texnikalar, maxsus transportlar va qurilish uskunalarini qulay narxda taqdim etamiz.",
+ },
+ {
+ id: 3,
+ image: "/3.webp",
+ title:
+ "Ishonchli SpesTexnika — sizning loyihangiz uchun eng yaxshi tanlov!",
+ desc: "Biz eng so‘nggi texnikalar, maxsus transportlar va qurilish uskunalarini qulay narxda taqdim etamiz.",
+ },
+];
+
+// The custom CSS selectors for navigation
+const navigationPrevEl = ".hero-swiper-prev";
+const navigationNextEl = ".hero-swiper-next";
export default function HeroSection() {
return (
@@ -10,66 +43,76 @@ export default function HeroSection() {
dir="ltr"
className="relative w-full md:h-[500px] max-md:py-10 max-lg:px-2 overflow-hidden flex items-center justify-between"
>
- {/*