Update src/app/layout.tsx
This commit is contained in:
@@ -1,51 +1,22 @@
|
||||
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";
|
||||
|
||||
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"],
|
||||
});
|
||||
import { Lenis } from "@/providers/lenis";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Master Chef - Elevated Culinary Experiences", description: "Discover bespoke culinary services from a master chef with 15+ years of excellence. Personalized menus, premium ingredients, and unforgettable dining experiences.", keywords: "chef, catering, culinary services, fine dining, cooking, gastronomy, event catering, personal chef", openGraph: {
|
||||
title: "Master Chef - Elevated Culinary Experiences", description: "Experience refined cuisine and culinary excellence from a dedicated master chef.", siteName: "Chef", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/people-making-vases-with-clay_1157-30708.jpg", alt: "Master Chef"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Master Chef - Elevated Culinary Experiences", description: "Bespoke culinary services and refined cuisine from a master chef.", images: ["http://img.b2bpic.net/free-photo/people-making-vases-with-clay_1157-30708.jpg"],
|
||||
},
|
||||
title: "Chef | Culinary Excellence", description: "Experience the art of refined cuisine from a master chef with 15+ years of culinary excellence.", keywords: "chef, culinary, cuisine, catering, fine dining", openGraph: {
|
||||
title: "Chef | Culinary Excellence", description: "Experience the art of refined cuisine from a master chef with 15+ years of culinary excellence.", type: "website"},
|
||||
};
|
||||
|
||||
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}
|
||||
|
||||
<body suppressHydrationWarning>
|
||||
<Lenis>{children}</Lenis>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1413,7 +1384,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user