Update src/app/layout.tsx

This commit is contained in:
2026-03-11 16:11:38 +00:00
parent 09a1904424
commit 0688bf4f45

View File

@@ -1,24 +1,50 @@
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: "Hendon Plumbing & Heating - 24/7 Emergency Plumber North London",
description: "Trusted 24/7 emergency plumbing and heating services in Hendon and North London. Fast, reliable and affordable solutions for homes and businesses. Call 07360 272102.",
keywords: "plumber Hendon, emergency plumber North London, 24 hour plumber Hendon, boiler repair, central heating, leak detection, bathroom plumbing",
robots: {
index: true,
follow: true,
},
openGraph: {
title: "Hendon Plumbing & Heating - 24/7 Emergency Plumber",
description: "Professional plumbing and heating services available 24/7 in Hendon and North London",
url: "https://hendonplumbing.co.uk",
siteName: "Hendon Plumbing & Heating Ltd",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Hendon Plumbing & Heating - 24/7 Emergency Plumber",
description: "Fast, reliable emergency plumbing and heating services in North London",
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +53,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 +67,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}