From de270b24e1cb22da89f900b45093fe72b2745af8 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 29 Apr 2026 21:19:30 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 182 ++++++++++++++--------------------------------- 1 file changed, 52 insertions(+), 130 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 803cf41..21c6f97 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,9 +12,14 @@ import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; -import { Award, Clock, ShieldCheck } from "lucide-react"; +import { Award, Clock, ShieldCheck, Languages } from "lucide-react"; +import { useState } from 'react'; export default function LandingPage() { + const [lang, setLang] = useState('en'); + + const t = (en: string, es: string) => lang === 'es' ? es : en; + return ( @@ -51,25 +53,18 @@ export default function LandingPage() { @@ -77,17 +72,11 @@ export default function LandingPage() {
@@ -99,36 +88,24 @@ export default function LandingPage() { textboxLayout="split" useInvertedBackground={false} features={[ - { - id: "1", title: "Tree Pruning", author: "Pro Team", description: "Expert canopy management to enhance health and property aesthetics.", tags: [ - "Maintenance"], - imageSrc: "http://img.b2bpic.net/free-photo/man-prepares-climb-ropes-park_1304-4997.jpg?_wi=2"}, - { - id: "2", title: "Hazardous Removal", author: "Removal Team", description: "Safe, efficient removal of dead or dangerous trees by specialists.", tags: [ - "Safety"], - imageSrc: "http://img.b2bpic.net/free-photo/pile-logs-green-forest_181624-42990.jpg"}, - { - id: "3", title: "Stump Grinding", author: "Cleanup Team", description: "Complete removal of stumps to reclaim your landscape space.", tags: [ - "Cleanup"], - imageSrc: "http://img.b2bpic.net/free-photo/faceless-lumberman-chopping-log-forest_23-2148253379.jpg"}, + { id: "1", title: t("Tree Pruning", "Poda de Árboles"), author: "Pro Team", description: t("Expert canopy management to enhance health and property aesthetics.", "Gestión experta de copas para mejorar la salud y estética de la propiedad."), tags: [t("Maintenance", "Mantenimiento")], imageSrc: "http://img.b2bpic.net/free-photo/man-prepares-climb-ropes-park_1304-4997.jpg?_wi=2" }, + { id: "2", title: t("Hazardous Removal", "Eliminación de Peligros"), author: "Removal Team", description: t("Safe, efficient removal of dead or dangerous trees by specialists.", "Eliminación segura y eficiente de árboles muertos o peligrosos por especialistas."), tags: [t("Safety", "Seguridad")], imageSrc: "http://img.b2bpic.net/free-photo/pile-logs-green-forest_181624-42990.jpg" }, + { id: "3", title: t("Stump Grinding", "Trituración de Tocones"), author: "Cleanup Team", description: t("Complete removal of stumps to reclaim your landscape space.", "Eliminación completa de tocones para recuperar el espacio de su paisaje."), tags: [t("Cleanup", "Limpieza")], imageSrc: "http://img.b2bpic.net/free-photo/faceless-lumberman-chopping-log-forest_23-2148253379.jpg" }, ]} - title="Our Specialized Tree Services" - description="Precision care for every tree on your property, ensuring health and safety." + title={t("Our Specialized Tree Services", "Nuestros Servicios Especializados")} + description={t("Precision care for every tree on your property, ensuring health and safety.", "Cuidado de precisión para cada árbol en su propiedad, garantizando salud y seguridad.")} />
@@ -140,43 +117,17 @@ export default function LandingPage() { textboxLayout="split" useInvertedBackground={false} testimonials={[ - { - id: "1", name: "Sarah Miller", role: "Homeowner", company: "Resident", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-couple-browsing-tablet-table_23-2147895027.jpg"}, - { - id: "2", name: "David Chen", role: "Property Manager", company: "Management", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-attractive-smiling-woman_171337-4171.jpg"}, - { - id: "3", name: "Robert Smith", role: "Homeowner", company: "Resident", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/gardening-mid-aged-man-working-garden-with-gtareden-inventory_259150-58928.jpg"}, - { - id: "4", name: "Maria Garcia", role: "Landowner", company: "Resident", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/stylish-young-university-student-girl-sits-park-lawn-leans-tree-smiles-resting-outdoors_1258-137859.jpg"}, - { - id: "5", name: "Tom Baker", role: "Manager", company: "Commercial", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/group-friends-restaurant_23-2148395357.jpg"}, + { id: "1", name: "Sarah Miller", role: t("Homeowner", "Propietario"), company: "Resident", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-couple-browsing-tablet-table_23-2147895027.jpg" }, + { id: "2", name: "David Chen", role: t("Property Manager", "Gestor de Propiedades"), company: "Management", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-attractive-smiling-woman_171337-4171.jpg" }, + { id: "3", name: "Robert Smith", role: t("Homeowner", "Propietario"), company: "Resident", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/gardening-mid-aged-man-working-garden-with-gtareden-inventory_259150-58928.jpg" }, ]} kpiItems={[ - { - value: "4.9/5", label: "Avg Rating"}, - { - value: "100%", label: "Reliability"}, - { - value: "500+", label: "Reviews"}, + { value: "4.9/5", label: t("Avg Rating", "Calificación Promedio") }, + { value: "100%", label: t("Reliability", "Confiabilidad") }, + { value: "500+", label: t("Reviews", "Reseñas") }, ]} - title="What Our Clients Say" - description="Hear from the homeowners and property managers we've helped." - /> -
- -
-
@@ -184,14 +135,10 @@ export default function LandingPage() { @@ -199,14 +146,12 @@ export default function LandingPage() {
@@ -216,30 +161,7 @@ export default function LandingPage() { imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CpR37lvekQ9JMF0P8rxVBCmgJD/uploaded-1777080404678-kxh2doap.png?_wi=2" logoText="ArborPro" columns={[ - { - title: "Company", items: [ - { - label: "About Us", href: "/about"}, - { - label: "Reviews", href: "/reviews"}, - ], - }, - { - title: "Services", items: [ - { - label: "Pruning", href: "/services"}, - { - label: "Removal", href: "/services"}, - ], - }, - { - title: "Support", items: [ - { - label: "Contact", href: "/contact"}, - { - label: "Privacy", href: "/privacy"}, - ], - }, + { title: t("Company", "Empresa"), items: [{ label: t("About Us", "Sobre Nosotros"), href: "/about" }, { label: t("Reviews", "Reseñas"), href: "/reviews" }] }, ]} /> -- 2.49.1 From 101607b6447975fdf7d804a72fc6b2bedd16c97b Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 29 Apr 2026 21:19:31 +0000 Subject: [PATCH 2/2] Update src/app/styles/variables.css --- src/app/styles/variables.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index 87a9e3d..d80b4dc 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,15 +10,15 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #f5f4f0; - --card: #ffffff; - --foreground: #1a1a1a; - --primary-cta: #0a7039; + --background: #0a0a0a; + --card: #1a1a1a; + --foreground: #ffffffe6; + --primary-cta: #e6e6e6; --primary-cta-text: #ffffff; - --secondary-cta: #ffffff; + --secondary-cta: #1a1a1a; --secondary-cta-text: #0a7039; - --accent: #8a8a8a; - --background-accent: #e8e6e1; + --accent: #737373; + --background-accent: #737373; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); -- 2.49.1