Update src/app/about/page.tsx
This commit is contained in:
@@ -11,27 +11,13 @@ import { Shield, Clock, Zap, MapPin } from "lucide-react";
|
||||
|
||||
export default function AboutPage() {
|
||||
const navItems = [
|
||||
{ name: "Home", id: "home" },
|
||||
{ name: "Services", id: "services" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Reviews", id: "reviews" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Services", id: "/services" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Reviews", id: "/reviews" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
];
|
||||
|
||||
const handleNavigation = (id: string) => {
|
||||
if (id === "home") {
|
||||
window.location.href = "/";
|
||||
} else if (id === "services") {
|
||||
window.location.href = "/";
|
||||
} else if (id === "about") {
|
||||
window.location.href = "/about";
|
||||
} else if (id === "reviews") {
|
||||
window.location.href = "/reviews";
|
||||
} else if (id === "contact") {
|
||||
window.location.href = "/";
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
@@ -47,12 +33,10 @@ export default function AboutPage() {
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
brandName="Irvine Plumbing"
|
||||
brandName="Irvine Plumbing & Drain"
|
||||
navItems={navItems}
|
||||
button={{
|
||||
text: "Call Now",
|
||||
href: "tel:(949)850-4471",
|
||||
}}
|
||||
text: "Call Now", href: "tel:(949)850-4471"}}
|
||||
className="sticky top-0 z-50"
|
||||
/>
|
||||
</div>
|
||||
@@ -76,25 +60,13 @@ export default function AboutPage() {
|
||||
<MetricCardOne
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "6",
|
||||
title: "Cities",
|
||||
description: "Irvine, Tustin, Newport Beach, Costa Mesa, Lake Forest, Mission Viejo",
|
||||
icon: MapPin,
|
||||
id: "1", value: "6", title: "Cities", description: "Irvine, Tustin, Newport Beach, Costa Mesa, Lake Forest, Mission Viejo", icon: MapPin,
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
value: "24/7",
|
||||
title: "Hours",
|
||||
description: "Always available for emergencies",
|
||||
icon: Clock,
|
||||
id: "2", value: "24/7", title: "Hours", description: "Always available for emergencies", icon: Clock,
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
value: "1-2",
|
||||
title: "Hour Response",
|
||||
description: "We arrive fast to your location",
|
||||
icon: Zap,
|
||||
id: "3", value: "1-2", title: "Hour Response", description: "We arrive fast to your location", icon: Zap,
|
||||
},
|
||||
]}
|
||||
title="Proudly Serving Orange County"
|
||||
@@ -116,31 +88,13 @@ export default function AboutPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
tag: "Drainage",
|
||||
title: "Drain Cleaning",
|
||||
subtitle: "Clear clogs fast",
|
||||
description: "From slow drains to complete blockages, we use advanced techniques to get your pipes flowing again. Same-day service available.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mechanic-using-control-box_107420-95947.jpg?_wi=4",
|
||||
imageAlt: "drain cleaning professional plumber unclogging",
|
||||
},
|
||||
tag: "Drainage", title: "Drain Cleaning", subtitle: "Clear clogs fast", description: "From slow drains to complete blockages, we use advanced techniques to get your pipes flowing again. Same-day service available.", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-using-control-box_107420-95947.jpg?_wi=4", imageAlt: "drain cleaning professional plumber unclogging"},
|
||||
{
|
||||
id: 2,
|
||||
tag: "Water Systems",
|
||||
title: "Water Heater Repair",
|
||||
subtitle: "Hot water restored",
|
||||
description: "Broken water heater? We repair or replace units quickly. Expert diagnostics to get you back to comfort fast.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17661.jpg?_wi=3",
|
||||
imageAlt: "water heater repair technician installation",
|
||||
},
|
||||
tag: "Water Systems", title: "Water Heater Repair", subtitle: "Hot water restored", description: "Broken water heater? We repair or replace units quickly. Expert diagnostics to get you back to comfort fast.", imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17661.jpg?_wi=3", imageAlt: "water heater repair technician installation"},
|
||||
{
|
||||
id: 3,
|
||||
tag: "Emergency",
|
||||
title: "Leak Detection",
|
||||
subtitle: "Find hidden problems",
|
||||
description: "Suspect a hidden leak? We locate it without invasive digging. Accurate diagnosis prevents water damage.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/two-plumber-horizontal-compositions_1284-11793.jpg?_wi=3",
|
||||
imageAlt: "leak detection plumber finding water damage",
|
||||
},
|
||||
tag: "Emergency", title: "Leak Detection", subtitle: "Find hidden problems", description: "Suspect a hidden leak? We locate it without invasive digging. Accurate diagnosis prevents water damage.", imageSrc: "http://img.b2bpic.net/free-vector/two-plumber-horizontal-compositions_1284-11793.jpg?_wi=3", imageAlt: "leak detection plumber finding water damage"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -153,30 +107,27 @@ export default function AboutPage() {
|
||||
copyrightText="© 2025 Irvine Plumbing & Drain. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
{ label: "Drain Cleaning", href: "/" },
|
||||
{ label: "Water Heater Repair", href: "/" },
|
||||
{ label: "Leak Detection", href: "/" },
|
||||
{ label: "Emergency Plumbing", href: "/" },
|
||||
title: "Services", items: [
|
||||
{ label: "Drain Cleaning", href: "/services" },
|
||||
{ label: "Water Heater Repair", href: "/services" },
|
||||
{ label: "Leak Detection", href: "/services" },
|
||||
{ label: "Emergency Plumbing", href: "/services" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Reviews", href: "/reviews" },
|
||||
{ label: "Contact", href: "/" },
|
||||
{ label: "Service Areas", href: "/about" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
{ label: "Service Areas", href: "/" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contact",
|
||||
items: [
|
||||
title: "Contact", items: [
|
||||
{ label: "(949) 850-4471", href: "tel:(949)850-4471" },
|
||||
{ label: "3349 Michelson Dr, Irvine, CA 92612", href: "https://maps.google.com/?q=3349+Michelson+Dr+Irvine+CA+92612" },
|
||||
{ label: "Open 24/7", href: "#" },
|
||||
{ label: "Request Service", href: "/" },
|
||||
{ label: "Request Service", href: "/contact" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user