From 21182d2218e83634f9a6b02d3e92620f09215f65 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 4 Mar 2026 06:56:44 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 62 +++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5f4e1d5..a413bbb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ThemeProvider } from "@/components/theme/ThemeProvider"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; import HeroBillboardGallery from "@/components/sections/hero/HeroBillboardGallery"; import TextAbout from "@/components/sections/about/TextAbout"; @@ -14,39 +14,48 @@ const page = () => { const services = [ { id: 1, - title: "Residential Electrical", description: "Professional electrical installation, maintenance, and repair services for your home. From rewiring to lighting solutions, we handle all your residential needs.", imageSrc: "/images/residential.jpg", imageAlt: "Residential electrical work"}, + title: "Residential Electrical", description: "Professional electrical installation, maintenance, and repair services for your home. From rewiring to lighting solutions, we handle all your residential needs.", imageSrc: "/images/residential.jpg", imageAlt: "Residential electrical work" + }, { id: 2, - title: "Commercial Electrical", description: "Comprehensive commercial electrical services including installation, maintenance, and emergency support. We service businesses of all sizes.", imageSrc: "/images/commercial.jpg", imageAlt: "Commercial electrical installation"}, + title: "Commercial Electrical", description: "Comprehensive commercial electrical services including installation, maintenance, and emergency support. We service businesses of all sizes.", imageSrc: "/images/commercial.jpg", imageAlt: "Commercial electrical installation" + }, { id: 3, - title: "Solar Installation", description: "Expert solar panel installation and maintenance to help you save on energy costs. Maximize your energy independence with our professional solar solutions.", imageSrc: "/images/solar.jpg", imageAlt: "Solar panel installation"}, + title: "Solar Installation", description: "Expert solar panel installation and maintenance to help you save on energy costs. Maximize your energy independence with our professional solar solutions.", imageSrc: "/images/solar.jpg", imageAlt: "Solar panel installation" + }, { id: 4, - title: "Emergency Services", description: "24/7 emergency electrical support when you need it most. Our rapid response team is ready to handle power outages, electrical faults, and urgent repairs.", imageSrc: "/images/emergency.jpg", imageAlt: "Emergency electrical repair"}, + title: "Emergency Services", description: "24/7 emergency electrical support when you need it most. Our rapid response team is ready to handle power outages, electrical faults, and urgent repairs.", imageSrc: "/images/emergency.jpg", imageAlt: "Emergency electrical repair" + } ]; const pricingPlans = [ { id: "1", badge: "Service Call", price: "$99", subtitle: "Initial inspection and diagnosis", features: [ - "Complete electrical inspection", "Problem diagnosis", "Written quote for repairs", "Same-day service available"], + "Complete electrical inspection", "Problem diagnosis", "Written quote for repairs", "Same-day service available" + ] }, { id: "2", badge: "Standard Installation", price: "$149-$399", subtitle: "Typical residential installations", features: [ - "Light switch installation", "Outlet installation", "Ceiling fan installation", "Basic wiring work"], + "Light switch installation", "Outlet installation", "Ceiling fan installation", "Basic wiring work" + ] }, { id: "3", badge: "Premium Installation", price: "$499-$1,299", subtitle: "Complex electrical work", features: [ - "Panel upgrades", "Whole-house rewiring", "Commercial installations", "Priority support"], + "Panel upgrades", "Whole-house rewiring", "Commercial installations", "Priority support" + ] }, { id: "4", badge: "Lighting Installation", price: "$250", subtitle: "Professional lighting solutions", features: [ - "LED lighting installation", "Smart home lighting setup", "Outdoor lighting", "Landscape lighting"], + "LED lighting installation", "Smart home lighting setup", "Outdoor lighting", "Landscape lighting" + ] }, { id: "5", badge: "Lighting Service", price: "By Quote", subtitle: "Custom lighting projects", features: [ - "Custom design consultation", "Commercial lighting", "Specialized installations", "Energy-efficient solutions"], - }, + "Custom design consultation", "Commercial lighting", "Specialized installations", "Energy-efficient solutions" + ] + } ]; return ( @@ -67,7 +76,7 @@ const page = () => { { name: "Home", id: "/" }, { name: "Services", id: "#services" }, { name: "Pricing", id: "#pricing" }, - { name: "Contact", id: "#contact" }, + { name: "Contact", id: "#contact" } ]} brandName="M&T Kelly" button={{ text: "Get Quote", href: "#contact" }} @@ -81,19 +90,25 @@ const page = () => { tag="Electrical Excellence" mediaItems={[ { - imageSrc: "/images/hero1.jpg", imageAlt: "Professional electrician at work"}, + imageSrc: "/images/hero1.jpg", imageAlt: "Professional electrician at work" + }, { - imageSrc: "/images/hero2.jpg", imageAlt: "Electrical panel installation"}, + imageSrc: "/images/hero2.jpg", imageAlt: "Electrical panel installation" + }, { - imageSrc: "/images/hero3.jpg", imageAlt: "Solar panel system"}, + imageSrc: "/images/hero3.jpg", imageAlt: "Solar panel system" + }, { - imageSrc: "/images/hero4.jpg", imageAlt: "Modern lighting installation"}, + imageSrc: "/images/hero4.jpg", imageAlt: "Modern lighting installation" + }, { - imageSrc: "/images/hero5.jpg", imageAlt: "Emergency service team"}, + imageSrc: "/images/hero5.jpg", imageAlt: "Emergency service team" + } ]} + mediaAnimation="none" buttons={[ { text: "Book Service", href: "#contact" }, - { text: "Learn More", href: "#services" }, + { text: "Learn More", href: "#services" } ]} /> @@ -105,7 +120,7 @@ const page = () => { useInvertedBackground={true} buttons={[ { text: "Contact Us", href: "#contact" }, - { text: "View Services", href: "#services" }, + { text: "View Services", href: "#services" } ]} /> @@ -153,13 +168,16 @@ const page = () => { socialLinks={[ { icon: Phone, - href: "tel:+61-3-xxxx-xxxx", ariaLabel: "Call us"}, + href: "tel:+61-3-xxxx-xxxx", ariaLabel: "Call us" + }, { icon: Mail, - href: "mailto:info@mtkelly.com.au", ariaLabel: "Email us"}, + href: "mailto:info@mtkelly.com.au", ariaLabel: "Email us" + }, { icon: MapPin, - href: "https://maps.google.com", ariaLabel: "Find us on maps"}, + href: "https://maps.google.com", ariaLabel: "Find us on maps" + } ]} /> -- 2.49.1