Update src/app/layout.tsx
This commit is contained in:
@@ -1,18 +1,22 @@
|
|||||||
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 { Roboto } 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 { Roboto } 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 roboto = Roboto({
|
const roboto = Roboto({
|
||||||
variable: "--font-roboto",
|
variable: "--font-roboto",
|
||||||
@@ -20,6 +24,32 @@ const roboto = Roboto({
|
|||||||
weight: ["100", "300", "400", "500", "700", "900"],
|
weight: ["100", "300", "400", "500", "700", "900"],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Donacio - Luxury Restaurant with Live Music & Exceptional Dining",
|
||||||
|
description: "Experience culinary excellence at Donacio. Fine dining with live music, exceptional service, and gourmet cuisine. Reserve your table today.",
|
||||||
|
keywords: "luxury restaurant, fine dining, live music restaurant, gourmet cuisine, reservations, private dining",
|
||||||
|
metadataBase: new URL("https://donacio.com"),
|
||||||
|
alternates: {
|
||||||
|
canonical: "https://donacio.com",
|
||||||
|
},
|
||||||
|
openGraph: {
|
||||||
|
title: "Donacio - Luxury Restaurant Experience",
|
||||||
|
description: "Discover exquisite cuisine, live music, and warm hospitality at Donacio. Reserve your unforgettable dining experience.",
|
||||||
|
url: "https://donacio.com",
|
||||||
|
siteName: "Donacio",
|
||||||
|
type: "website",
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
title: "Donacio - Luxury Dining Experience",
|
||||||
|
description: "Fine dining with live music, exceptional service, and gourmet cuisine.",
|
||||||
|
},
|
||||||
|
robots: {
|
||||||
|
index: true,
|
||||||
|
follow: true,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -28,7 +58,9 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${roboto.variable} antialiased`}>
|
<body
|
||||||
|
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
|
||||||
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
@@ -40,4 +72,4 @@ export default function RootLayout({
|
|||||||
</ServiceWrapper>
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user