From d9db0f06b9500372f1da58b51b026adcff4284a7 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 24 Jun 2026 13:26:20 +0000 Subject: [PATCH] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 173 +++++++++-------------------------------- 1 file changed, 37 insertions(+), 136 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 32bb65c..dd8daac 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -5,7 +5,7 @@ import FeaturesBento from '@/components/sections/features/FeaturesBento'; import HeroTiltedCards from '@/components/sections/hero/HeroTiltedCards'; import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import { Award, CheckCircle, Clock, Flame, MapPin, Tool, Zap } from "lucide-react"; +import { Award, CheckCircle, Clock, Flame, MapPin, Wrench, Zap } from "lucide-react"; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { @@ -18,29 +18,15 @@ export default function HomePage() { title="Your Trusted Electrical & HVAC Specialists" description="Total Energy Group provides comprehensive electrical, heating, and air-conditioning services for residential, commercial, and industrial clients throughout Auckland." primaryButton={{ - text: "Get a Quote", - href: "#contact", - }} + text: "Get a Quote", href: "#contact"}} secondaryButton={{ - text: "Our Services", - href: "#services", - }} + text: "Our Services", href: "#services"}} items={[ - { - imageSrc: "http://img.b2bpic.net/free-photo/electrician-wiring-panel-electrical-installation-work-cable-connection_169016-68356.jpg?_wi=1", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/low-angle-people-working-with-drill_23-2149366670.jpg?_wi=1", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/woman-electrician-studies-blueprint-by-open-switchgear-full-frame_169016-71033.jpg", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/workplace-with-tools-electricity_23-2147743048.jpg", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/electrician-working-switchboard-with-electrical-connection-cable-copy-space_169016-53055.jpg", - }, + { imageSrc: "http://img.b2bpic.net/free-photo/electrician-wiring-panel-electrical-installation-work-cable-connection_169016-68356.jpg" }, + { imageSrc: "http://img.b2bpic.net/free-photo/low-angle-people-working-with-drill_23-2149366670.jpg" }, + { imageSrc: "http://img.b2bpic.net/free-photo/woman-electrician-studies-blueprint-by-open-switchgear-full-frame_169016-71033.jpg" }, + { imageSrc: "http://img.b2bpic.net/free-photo/workplace-with-tools-electricity_23-2147743048.jpg" }, + { imageSrc: "http://img.b2bpic.net/free-photo/electrician-working-switchboard-with-electrical-connection-cable-copy-space_169016-53055.jpg" }, ]} /> @@ -52,7 +38,7 @@ export default function HomePage() { tag="About Us" title="Quality Service Throughout NZ" description="Based in Weymouth, we specialize in high-quality electrical services including central heating, heat pump installations, and air-conditioning. We are committed to providing maximum value and the highest level of service." - imageSrc="http://img.b2bpic.net/free-photo/pleased-management-team-celebrating-passing-solar-plant-machinery-inspection_482257-125770.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/pleased-management-team-celebrating-passing-solar-plant-machinery-inspection_482257-125770.jpg" /> @@ -65,69 +51,22 @@ export default function HomePage() { description="From emergency repairs to large-scale industrial installations, we have the skills for all your electrical requirements." features={[ { - title: "Electrical Repairs", - description: "Rapid response for all residential and commercial electrical emergencies.", - bentoComponent: "tilted-stack-cards", - stackCards: [ - { - icon: Zap, - title: "Fast Response", - subtitle: "24/7", - detail: "Emergency support", - }, - { - icon: CheckCircle, - title: "Licensed", - subtitle: "Certified", - detail: "Expert technicians", - }, - { - icon: Tool, - title: "Maintenance", - subtitle: "Preventative", - detail: "Reliable care", - }, + title: "Electrical Repairs", description: "Rapid response for all residential and commercial electrical emergencies.", bentoComponent: "tilted-stack-cards", stackCards: [ + { icon: Zap, title: "Fast Response", subtitle: "24/7", detail: "Emergency support" }, + { icon: CheckCircle, title: "Licensed", subtitle: "Certified", detail: "Expert technicians" }, + { icon: Wrench, title: "Maintenance", subtitle: "Preventative", detail: "Reliable care" }, ], - imageSrc: "http://img.b2bpic.net/free-photo/male-electrician-uniform-working-switchboard-electricity_169016-67983.jpg", - imageAlt: "Male electrician in uniform working in a switchboard Electricity", }, { - title: "HVAC Specialists", - description: "Efficient heating and cooling solutions for every premises.", - bentoComponent: "orbiting-icons", - centerIcon: Flame, - orbitIcons: [ - "Sun", - "Wind", - "Snowflake", - "Droplets", - ], - imageSrc: "http://img.b2bpic.net/free-photo/electrician-wiring-panel-electrical-installation-work-cable-connection_169016-68356.jpg?_wi=2", - imageAlt: "Male electrician in uniform working in a switchboard Electricity", + title: "HVAC Specialists", description: "Efficient heating and cooling solutions for every premises.", bentoComponent: "orbiting-icons", centerIcon: Flame, + orbitIcons: ["Sun", "Wind", "Snowflake", "Droplets"], }, { - title: "Quality Service", - description: "Providing the best value to our clients.", - bentoComponent: "info-card-marquee", - infoCards: [ - { - icon: Award, - label: "Customer", - value: "100% Satisfaction", - }, - { - icon: Clock, - label: "Service", - value: "24/7 Ready", - }, - { - icon: MapPin, - label: "Coverage", - value: "NZ Wide", - }, + title: "Quality Service", description: "Providing the best value to our clients.", bentoComponent: "info-card-marquee", infoCards: [ + { icon: Award, label: "Customer", value: "100% Satisfaction" }, + { icon: Clock, label: "Service", value: "24/7 Ready" }, + { icon: MapPin, label: "Coverage", value: "NZ Wide" }, ], - imageSrc: "http://img.b2bpic.net/free-photo/low-angle-people-working-with-drill_23-2149366670.jpg?_wi=2", - imageAlt: "Male electrician in uniform working in a switchboard Electricity", }, ]} /> @@ -141,18 +80,9 @@ export default function HomePage() { title="Serving Auckland & Beyond" description="Total Energy Group has established a reputation for excellence in electrical and mechanical services." metrics={[ - { - value: "15+", - description: "Years of Excellence", - }, - { - value: "5000+", - description: "Projects Completed", - }, - { - value: "24/7", - description: "Emergency Assistance", - }, + { value: "15+", description: "Years of Excellence" }, + { value: "5000+", description: "Projects Completed" }, + { value: "24/7", description: "Emergency Assistance" }, ]} /> @@ -166,40 +96,20 @@ export default function HomePage() { description="Reliability and value that our customers trust for their electrical and heating needs." testimonials={[ { - name: "Sarah J.", - role: "Homeowner", - quote: "Incredible service! Fixed my heating system in record time. Highly recommended.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1598.jpg", - }, + name: "Sarah J.", role: "Homeowner", quote: "Incredible service! Fixed my heating system in record time. Highly recommended.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1598.jpg"}, { - name: "David M.", - role: "Office Manager", - quote: "Total Energy Group handles all our commercial electrical maintenance. Extremely reliable.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23722.jpg", - }, + name: "David M.", role: "Office Manager", quote: "Total Energy Group handles all our commercial electrical maintenance. Extremely reliable.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23722.jpg"}, { - name: "Elena R.", - role: "Homeowner", - quote: "Professional, polite, and very knowledgeable. Great heat pump installation.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-warming-up-with-heater_23-2149335083.jpg", - }, + name: "Elena R.", role: "Homeowner", quote: "Professional, polite, and very knowledgeable. Great heat pump installation.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-couple-warming-up-with-heater_23-2149335083.jpg"}, { - name: "Kevin L.", - role: "Warehouse Lead", - quote: "Fast emergency repairs when we needed them most. Top notch team.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/helpdesk-support-information-support-concept_53876-121537.jpg", - }, + name: "Kevin L.", role: "Warehouse Lead", quote: "Fast emergency repairs when we needed them most. Top notch team.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/helpdesk-support-information-support-concept_53876-121537.jpg"}, { - name: "Marie K.", - role: "Business Owner", - quote: "Consistently providing great value and high-quality electrical work for our locations.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/couple-changing-light-bulb_23-2147766976.jpg", - }, + name: "Marie K.", role: "Business Owner", quote: "Consistently providing great value and high-quality electrical work for our locations.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/couple-changing-light-bulb_23-2147766976.jpg"}, ]} /> @@ -213,16 +123,11 @@ export default function HomePage() { description="Have questions about our electrical or HVAC services? Here are the most common ones." categories={[ { - name: "General", - items: [ + name: "General", items: [ { - question: "Are you available for emergencies?", - answer: "Yes, we provide emergency support 24/7 across Auckland.", - }, + question: "Are you available for emergencies?", answer: "Yes, we provide emergency support 24/7 across Auckland."}, { - question: "Do you cover commercial buildings?", - answer: "Absolutely, we serve residential, commercial, industrial, and office premises.", - }, + question: "Do you cover commercial buildings?", answer: "Absolutely, we serve residential, commercial, industrial, and office premises."}, ], }, ]} @@ -236,13 +141,9 @@ export default function HomePage() { tag="Contact Us" text="Need help with your electrical or air conditioning? Give us a call today for a consultation." primaryButton={{ - text: "Call Now (09 884 8657)", - href: "tel:098848657", - }} + text: "Call Now (09 884 8657)", href: "tel:098848657"}} secondaryButton={{ - text: "Email Us", - href: "mailto:info@totalenergy.co.nz", - }} + text: "Email Us", href: "mailto:info@totalenergy.co.nz"}} /> -- 2.49.1