|
|
|
|
@@ -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>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|