Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,63 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Manrope } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Manrope } from "next/font/google";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const manrope = Manrope({
|
||||
variable: "--font-manrope",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Professional Local Services | Free Quote & Same-Day Service",
|
||||
description: "Expert plumbing, electrical, HVAC, and general repair services. Licensed, insured, 24/7 emergency response. Get a free quote today. Serving the community for 15+ years.",
|
||||
keywords: "plumbing services, electrical repair, HVAC maintenance, home repair, local services, emergency service, free quote",
|
||||
metadataBase: new URL("https://localpro-services.com"),
|
||||
alternates: {
|
||||
canonical: "https://localpro-services.com",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Professional Local Services | Trusted Since 2009",
|
||||
description: "Expert service across plumbing, electrical, HVAC, and repairs. Licensed, insured, and ready to help. Call for free quote.",
|
||||
url: "https://localpro-services.com",
|
||||
siteName: "Local Pro Services",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-sitting-floor-repairing-kitchen-sink_1098-17780.jpg",
|
||||
alt: "Professional service team",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Professional Local Services Available 24/7",
|
||||
description: "Expert plumbing, electrical, HVAC, and general repairs. Free quotes. Licensed & insured.",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/cheerful-asian-plumber-sitting-floor-repairing-kitchen-sink_1098-17780.jpg",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -27,7 +66,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${manrope.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${manrope.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -39,4 +80,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user