Files
98a2045b-14d5-4f58-96fb-47c…/src/app/layout.tsx
2026-03-11 04:21:53 +00:00

81 lines
2.6 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Open_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";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "The Dental Care Clinic - Best Dentist in Islamabad",
description: "Professional dental care in Islamabad by Dr. Shahnawaz Ahmed. Root canal, extraction, fillings, cosmetic dentistry. 4.9★ rated. Book appointment now.",
keywords: "dentist Islamabad, dental clinic Blue Area, root canal, tooth extraction, teeth cleaning, cosmetic dentistry, emergency dentist",
metadataBase: new URL("https://www.thedentalcareclinic.com"),
alternates: {
canonical: "https://www.thedentalcareclinic.com",
},
openGraph: {
title: "The Dental Care Clinic - Trusted Dental Care in Islamabad",
description: "Professional dental treatments by Dr. Shahnawaz Ahmed. Patient comfort, modern equipment, hygienic environment.",
url: "https://www.thedentalcareclinic.com",
siteName: "The Dental Care Clinic",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/close-up-doctor-patient-clinic_23-2149103571.jpg",
alt: "The Dental Care Clinic - Professional Dental Services",
},
],
},
twitter: {
card: "summary_large_image",
title: "The Dental Care Clinic - Best Dentist in Islamabad",
description: "Professional dental care with 15+ years expertise. Book your appointment today.",
images: ["http://img.b2bpic.net/free-photo/close-up-doctor-patient-clinic_23-2149103571.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}