Merge version_3 into main #3
@@ -1,56 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Plumbing & Heating Services Ontario | David Laird's",
|
||||
description: "Professional plumbing and heating services in Beaverton & Toronto. 5-star rated local experts. Emergency service available. Call (647) 555-PLUM today.",
|
||||
keywords: "plumber Ontario, plumbing services, heating repair, emergency plumber, local plumber",
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "Trusted Plumbing & Heating Services | David Laird's",
|
||||
description: "Professional plumbing solutions from experienced local experts in Ontario. 5-star rated service.",
|
||||
siteName: "David Laird's Plumbing & Heating Inc.",
|
||||
type: "website",
|
||||
url: "https://davidlairdplumbing.com",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Trusted Plumbing Services in Ontario",
|
||||
description: "Professional plumbing & heating repairs. Call for emergency service.",
|
||||
},
|
||||
};
|
||||
title: "David Laird's Plumbing & Heating", description: "Professional plumbing and heating services in Ontario"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${dmSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.variable}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1418,7 +1384,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user