Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,61 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Montserrat } 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 { Montserrat } 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 montserrat = Montserrat({
|
||||
variable: "--font-montserrat",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Manchester Dental Practice - Trusted Dentists in Manchester",
|
||||
description: "Professional dental care in Manchester with same-week appointments. General dentistry, teeth whitening, Invisalign, and emergency services. Call +44 161 833 0704.",
|
||||
keywords: "dentist Manchester, emergency dentist Manchester, teeth whitening Manchester, Invisalign Manchester, dental clinic Manchester, NHS dentist",
|
||||
metadataBase: new URL("https://manchesterdentalpractice.co.uk"),
|
||||
alternates: {
|
||||
canonical: "https://manchesterdentalpractice.co.uk",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Manchester Dental Practice - Expert Dental Care",
|
||||
description: "Trusted Manchester dentists offering comprehensive dental services with modern technology and friendly care.",
|
||||
url: "https://manchesterdentalpractice.co.uk",
|
||||
siteName: "Manchester Dental Practice",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://manchesterdentalpractice.co.uk/og-image.jpg",
|
||||
alt: "Manchester Dental Practice - Modern Dental Clinic",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Manchester Dental Practice - Trusted Dentists",
|
||||
description: "Expert dental care in Manchester. Book your appointment today.",
|
||||
images: ["https://manchesterdentalpractice.co.uk/twitter-image.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={`${montserrat.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -39,4 +78,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user