Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,61 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import { Halant } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
|
import { Manrope } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Manrope } from "next/font/google";
|
|
||||||
|
|
||||||
|
const halant = Halant({
|
||||||
|
variable: "--font-halant",
|
||||||
|
subsets: ["latin"],
|
||||||
|
weight: ["300", "400", "500", "600", "700"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const inter = Inter({
|
||||||
export const metadata: Metadata = {
|
variable: "--font-inter",
|
||||||
title: "Webild components 2",
|
subsets: ["latin"],
|
||||||
description: "Generated by create next app",
|
});
|
||||||
};
|
|
||||||
|
|
||||||
const manrope = Manrope({
|
const manrope = Manrope({
|
||||||
variable: "--font-manrope",
|
variable: "--font-manrope",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Dr. Sakina Clinics | Dermatologist Wah Cantt 4.6★",
|
||||||
|
description: "Professional dermatology clinic in Wah Cantt offering acne treatment, hair loss solutions, and skin care. Call +92 312 5458615 to book.",
|
||||||
|
keywords: "dermatologist wah cantt, skin clinic, acne treatment, hair loss, wah cantt dermatology",
|
||||||
|
metadataBase: new URL("https://drsakinaclinics.com"),
|
||||||
|
alternates: {
|
||||||
|
canonical: "https://drsakinaclinics.com",
|
||||||
|
},
|
||||||
|
robots: {
|
||||||
|
index: true,
|
||||||
|
follow: true,
|
||||||
|
},
|
||||||
|
openGraph: {
|
||||||
|
title: "Dr. Sakina Clinics | Expert Dermatology Care",
|
||||||
|
description: "Trusted dermatology clinic in Wah Cantt with 4.6★ rating. Expert treatments for acne, hair loss, and skin concerns.",
|
||||||
|
url: "https://drsakinaclinics.com",
|
||||||
|
siteName: "Dr. Sakina Clinics",
|
||||||
|
type: "website",
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: "http://img.b2bpic.net/free-vector/hospital-template-design_23-2150363212.jpg",
|
||||||
|
alt: "Dr. Sakina Clinics professional entrance",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
title: "Dr. Sakina Clinics | Expert Dermatology",
|
||||||
|
description: "Trusted skin and hair care clinic in Wah Cantt. 4.6★ rated. Call +92 312 5458615",
|
||||||
|
images: ["http://img.b2bpic.net/free-vector/hospital-template-design_23-2150363212.jpg"],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -27,7 +64,9 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${manrope.variable} antialiased`}>
|
<body
|
||||||
|
className={`${halant.variable} ${inter.variable} ${manrope.variable} antialiased`}
|
||||||
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
@@ -39,4 +78,4 @@ export default function RootLayout({
|
|||||||
</ServiceWrapper>
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user