Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-04 15:55:59 +00:00
2 changed files with 16 additions and 55 deletions

View File

@@ -1,67 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Source_Sans_3 } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const sourceSans3 = Source_Sans_3({
variable: "--font-source-sans-3",
subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Perth Electrician Pro | Expert 24/7 Electrical Services",
description: "Licensed Perth electrician offering 24/7 emergency repairs, residential & commercial electrical services. Free quotes. Trusted by 1000+ Perth customers.",
keywords: "Perth electrician, electrician near me, emergency electrician Perth, residential electrician, commercial electrician, electrical repair, electrical installation",
metadataBase: new URL("https://perthelectricianpro.com.au"),
alternates: {
canonical: "https://perthelectricianpro.com.au"
},
openGraph: {
title: "Perth Electrician Pro | Expert Electrical Services",
description: "Need an electrician in Perth? 24/7 emergency service available. Licensed, insured professionals. Free quotes.",
url: "https://perthelectricianpro.com.au",
siteName: "Perth Electrician Pro",
type: "website"
},
twitter: {
card: "summary_large_image",
title: "Perth Electrician Pro | Expert Electrical Services",
description: "24/7 licensed electrician in Perth. Emergency repairs, residential & commercial. Get a free quote today."
},
robots: {
index: true,
follow: true
}
};
title: "Perth Electrician Pro | Licensed & Insured Electrical Services", description: "Expert electrical services in Perth. 24/7 emergency electrician available. Licensed, insured, and trusted by Perth families and businesses."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1429,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}

View File

@@ -75,7 +75,8 @@ export default function HomePage() {
description="Perth Electrician Pro has been providing reliable, professional electrical services to residential and commercial clients throughout Perth and surrounding areas. Our team of fully licensed and insured electricians are committed to delivering excellence, safety, and exceptional customer service on every job."
metrics={[
{ value: "1000+", title: "Happy Customers" },
{ value: "15+", title: "Years Experience" }
{ value: "15+", title: "Years Experience" },
{ value: "100%", title: "Licensed & Compliant" }
]}
imageSrc="http://img.b2bpic.net/free-photo/electrician-working-near-board-with-wires-installation-connection-electrics_169016-5875.jpg?_wi=3"
imageAlt="Professional electrician team"
@@ -218,4 +219,4 @@ export default function HomePage() {
</div>
</ThemeProvider>
);
}
}