import { Link } from "react-router"; import { CheckCircle, Phone, ArrowRight, Star } from "lucide-react"; import { ImageWithFallback } from "../components/figma/ImageWithFallback"; import { useTranslation } from "react-i18next"; export function Home() { const { t } = useTranslation(); const services = [ { title: t("home.services.items.plumbing.title"), description: t("home.services.items.plumbing.description"), image: "https://images.unsplash.com/photo-1760571327612-8ab776dcd462?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob21lJTIwcmVwYWlyJTIwcGx1bWJpbmd8ZW58MXx8fHwxNzcxNTE2ODQ2fDA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral", }, { title: t("home.services.items.electrical.title"), description: t("home.services.items.electrical.description"), image: "https://images.unsplash.com/photo-1767514536570-83d70c024247?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxlbGVjdHJpY2FsJTIwd29yayUyMGluc3RhbGxhdGlvbnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral", }, { title: t("home.services.items.painting.title"), description: t("home.services.items.painting.description"), image: "https://images.unsplash.com/photo-1574359411659-15573a27fd0c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxob3VzZSUyMHBhaW50aW5nJTIwY29udHJhY3RvcnxlbnwxfHx8fDE3NzE1OTg3OTh8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral", }, ]; const features = [ t("home.features.licensed"), t("home.features.sameDay"), t("home.features.quality"), t("home.features.affordable"), t("home.features.satisfaction"), t("home.features.emergency"), ]; const testimonials = [ { name: t("home.testimonials.items.sarah.name"), text: t("home.testimonials.items.sarah.text"), rating: 5, }, { name: t("home.testimonials.items.mike.name"), text: t("home.testimonials.items.mike.text"), rating: 5, }, { name: t("home.testimonials.items.emily.name"), text: t("home.testimonials.items.emily.text"), rating: 5, }, ]; return (
{t("home.hero.subtitle")}
{t("home.services.subtitle")}
{service.description}
{t("home.services.learnMore")}{t("home.about.subtitle")}
{t("home.about.points.experienced.text")}
{t("home.about.points.pricing.text")}
{t("home.about.points.guarantee.text")}
{t("home.testimonials.subtitle")}
"{testimonial.text}"
- {testimonial.name}