|
|
|
|
@@ -1,19 +1,53 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Montserrat } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const montserrat = Montserrat({
|
|
|
|
|
variable: "--font-montserrat", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Maggie Roofing Contractors | Professional Roofing Services", description: "Reliable roofing solutions for residential and commercial properties. Quality craftsmanship, honest pricing, and expert service."};
|
|
|
|
|
title: "Maggie Roofing Contractors | Professional Roofing Services", description: "Expert residential and commercial roofing services. Licensed, insured, and dedicated to quality craftsmanship. Get your free roofing estimate today.", keywords: "roofing contractors, roof repair, roof installation, roof replacement, residential roofing, commercial roofing, emergency roof repair", metadataBase: new URL("https://maggieroofing.com"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://maggieroofing.com"
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Maggie Roofing Contractors | Professional Roofing Services", description: "Expert residential and commercial roofing services with quality craftsmanship and honest pricing.", type: "website", siteName: "Maggie Roofing Contractors", images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/man-sitting-roof_23-2148748778.jpg", alt: "Professional roofing contractors at work"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "Maggie Roofing Contractors", description: "Professional roofing solutions you can trust. Free estimates available.", images: ["http://img.b2bpic.net/free-photo/man-sitting-roof_23-2148748778.jpg"]
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}) {
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${montserrat.variable} ${inter.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1381,6 +1415,7 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|