Update src/app/layout.tsx

This commit is contained in:
2026-03-03 16:59:48 +00:00
parent ecbd79efcc
commit 18ac62f8a7

View File

@@ -1,50 +1,17 @@
import type { Metadata } from "next";
import { Poppins } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const poppins = Poppins({
variable: "--font-poppins", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
import "./styles/globals.css";
export const metadata: Metadata = {
title: "Culinary Haven | Fine Dining Restaurant", description: "Experience award-winning cuisine and exceptional hospitality at Culinary Haven. Reserve your table today for an unforgettable fine dining experience.", keywords: "fine dining restaurant, gourmet cuisine, chef-driven restaurant, culinary excellence, reservation, upscale dining", openGraph: {
title: "Culinary Haven | Fine Dining Restaurant", description: "Experience award-winning cuisine and exceptional hospitality at Culinary Haven.", type: "website", siteName: "Culinary Haven", images: [
{
url: "http://img.b2bpic.net/free-photo/beautiful-decorated-table-with-pine-leaf_8353-10194.jpg", alt: "Fine dining ambiance at Culinary Haven"
}
]
},
twitter: {
card: "summary_large_image", title: "Culinary Haven | Fine Dining Restaurant", description: "Experience award-winning cuisine and exceptional hospitality.", images: ["http://img.b2bpic.net/free-photo/beautiful-decorated-table-with-pine-leaf_8353-10194.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "Culinary Haven | Award-Winning Fine Dining", description: "Experience exceptional cuisine crafted by award-winning chefs in an elegant atmosphere designed for unforgettable moments."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${poppins.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1412,7 +1379,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}