Files
5c9b675d-7f68-4615-ac18-e91…/src/app/layout.tsx
2026-03-13 16:12:45 +00:00

82 lines
2.4 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Roboto } 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 roboto = Roboto({
variable: "--font-roboto",
subsets: ["latin"],
weight: ["100", "300", "400", "500", "700", "900"],
});
export const metadata: Metadata = {
title: "The Nirvana - Best Family Restaurant in Jalpaiguri",
description: "Premium family restaurant in Jalpaiguri offering authentic Indian cuisine, dine-in, takeaway, and online delivery. Order now or make a reservation.",
keywords: "restaurant Jalpaiguri, family restaurant, online food order, Indian cuisine, butter chicken biryani",
metadataBase: new URL("https://thenirvana.in"),
alternates: {
canonical: "https://thenirvana.in",
},
openGraph: {
title: "The Nirvana Restaurant - Authentic Dining",
description: "Experience authentic Indian cuisine at The Nirvana. Family restaurant in Jalpaiguri with dine-in, takeaway, and delivery.",
type: "website",
url: "https://thenirvana.in",
siteName: "The Nirvana",
images: [
{
url: "https://thenirvana.in/og-image.jpg",
alt: "The Nirvana restaurant",
},
],
},
twitter: {
card: "summary_large_image",
title: "The Nirvana - Premium Family Restaurant",
description: "Authentic Indian cuisine in Jalpaiguri. Dine-in, takeaway, delivery available.",
images: ["https://thenirvana.in/twitter-image.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} ${roboto.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}