Update src/app/layout.tsx
This commit is contained in:
@@ -1,50 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Libre_Baskerville } from "next/font/google";
|
||||
import { Inter } 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 libreBaskerville = Libre_Baskerville({
|
||||
variable: "--font-libre-baskerville", subsets: ["latin"],
|
||||
weight: ["400", "700"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Professional Electrician | Solar & Battery Installation Services", description: "Expert electrical services including solar panel installation, battery storage systems, and domestic electrical work. Licensed professionals serving homeowners with 15+ years experience.", keywords: "electrician, solar installation, battery storage, renewable energy, residential electrical", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "ElectroWorks - Professional Electrical Solutions", description: "Transform your home's energy with solar panels, battery storage, and expert electrical services.", type: "website", siteName: "ElectroWorks", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/solar-panel-installation-rooftop_23-2152021003.jpg", alt: "Professional solar installation"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "ElectroWorks - Professional Electrical Solutions", description: "Expert solar, battery, and electrical services for homeowners", images: [
|
||||
"http://img.b2bpic.net/free-photo/solar-panel-installation-rooftop_23-2152021003.jpg"],
|
||||
},
|
||||
};
|
||||
title: "ElectroWorks - Professional Electrical Solutions", description: "Expert solar panel installation, battery storage systems, and comprehensive domestic electrical services for your home."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1412,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user