"use client"; import React from "react"; import { Button } from "@/components/ui/button"; import Image from "next/image"; import { Flame, Building2, Ambulance } from "lucide-react"; import DotAnimatsiya from "@/components/dot/DotAnimatsiya"; import { useTranslations } from "next-intl"; interface ServiceItem { icon: React.ReactNode; title: string; description: string; } export function AboutUs() { const t = useTranslations(); const services: ServiceItem[] = [ { icon: , title: t("home.about.prevention.title"), description: t("home.about.prevention.description"), }, { icon: , title: t("home.about.accidents.title"), description: t("home.about.accidents.description"), }, { icon: , title: t("home.about.service.title"), description: t("home.about.service.description"), }, ]; return ( {/* Left Content */} {/* Header */} {t("home.about.title")} {t("home.about.subtitle")} {/* Services */} {services.map((service, index) => ( {service.icon} {service.title} {service.description} ))} {/* Button */} {t("home.about.title")} {/* Right Image */} {/* Main Image */} {/* Badge Overlay */} {t("home.about.award")} ); }
{service.description}
{t("home.about.award")}