hero section banner change to slider

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-02-17 20:32:07 +05:00
parent 137dc3e7c2
commit 8eb434643c
8 changed files with 202 additions and 135 deletions

View File

@@ -3,10 +3,12 @@
import Image from "next/image";
import { Check } from "lucide-react";
import DotAnimatsiya from "@/components/dot/DotAnimatsiya";
import { useTranslations } from "next-intl";
import { useLocale, useTranslations } from "next-intl";
import Link from "next/link";
export function WhyChooseUs() {
const t = useTranslations();
const locale = useLocale();
const features = [
{ title: t("about.whyChoose.features.fastResponse") },
{ title: t("about.whyChoose.features.ready24") },
@@ -56,9 +58,12 @@ export function WhyChooseUs() {
{/* CTA Button */}
<div>
<button className="font-almarai shadow-[0px_0px_2px_8px_#ff01015c] rounded-full bg-red-600 px-6 py-3 font-bold text-white transition-all hover:bg-red-700 sm:px-8 sm:py-4">
<Link
href={`/${locale}/contact`}
className="font-almarai shadow-[0px_0px_2px_8px_#ff01015c] rounded-full bg-red-600 px-6 py-3 font-bold text-white transition-all hover:bg-red-700 sm:px-8 sm:py-4"
>
{t("about.whyChoose.contact")}
</button>
</Link>
</div>
</div>