Update src/app/layout.tsx

This commit is contained in:
2026-03-15 12:09:50 +00:00
parent 6df6053353
commit e07c39d3f8

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_Sans } 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 { DM_Sans } 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 dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Professional Roofing Services | RoofCare Pro | Residential & Commercial",
description: "Expert roofing services for residential and commercial properties. Installation, repair, maintenance & emergency services. 24/7 support. Get your free inspection today.",
keywords: "roofing services, roof installation, roof repair, roofing contractor, residential roofing, commercial roofing, emergency roofing, roof replacement",
metadataBase: new URL("https://roofcarepro.com"),
alternates: {
canonical: "https://roofcarepro.com",
},
openGraph: {
title: "Professional Roofing Services | RoofCare Pro",
description: "Expert roofing solutions with 15+ years of experience. Free inspections, transparent pricing, 24/7 emergency services.",
url: "https://roofcarepro.com",
siteName: "RoofCare Pro",
type: "website",
images: [
{
url: "https://roofcarepro.com/og-hero.jpg",
alt: "Professional roofing services hero image",
},
],
},
twitter: {
card: "summary_large_image",
title: "Professional Roofing Services | RoofCare Pro",
description: "Expert roofing solutions with 15+ years of experience. Free inspections, 24/7 emergency services.",
images: ["https://roofcarepro.com/twitter-hero.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +64,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}