Update src/app/layout.tsx

This commit is contained in:
2026-03-20 14:37:26 +00:00
parent 91233fe68e
commit aece113993

View File

@@ -1,24 +1,63 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { DM_Sans } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "DineBook - Book Restaurants & Discover Great Dining",
description: "Discover exceptional restaurants, read verified reviews, and make reservations instantly. Browse thousands of restaurants with authentic photos and menus on DineBook.",
keywords: "restaurant booking, make reservations, dining reservations, restaurant reviews, food photos, fine dining booking, table reservations, restaurant discovery, food reviews, online reservations",
metadataBase: new URL("https://dinebook.com"),
alternates: {
canonical: "https://dinebook.com",
},
openGraph: {
title: "DineBook - Book Your Perfect Dining Experience",
description: "Discover exceptional restaurants and book your table instantly with verified reviews and authentic food photos.",
url: "https://dinebook.com",
siteName: "DineBook",
images: [
{
url: "http://img.b2bpic.net/free-photo/interior-dinner-new-modern-indoor_1122-2075.jpg",
alt: "Premium dining experience - Book restaurants on DineBook",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "DineBook - Discover & Book Great Restaurants",
description: "Find exceptional restaurants with verified reviews and stunning food photos. Make reservations in seconds.",
images: [
"http://img.b2bpic.net/free-photo/interior-dinner-new-modern-indoor_1122-2075.jpg",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +66,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +80,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}