Update src/app/layout.tsx

This commit is contained in:
2026-03-08 17:56:27 +00:00
parent 5f51b8f67b
commit ab170bc9ee

View File

@@ -1,57 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Source_Sans_3 } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "@/styles/globals.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const sourceSans3 = Source_Sans_3({
variable: "--font-source-sans-3", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Tham Le Thong | Authentic Thai Restaurant", description: "Experience authentic Thai cuisine at Tham Le Thong. Traditional recipes, premium ingredients, and warm hospitality in an elegant setting.", keywords: "Thai restaurant, authentic Thai cuisine, pad thai, green curry, tom yum, Thai food, dining", metadataBase: new URL("https://thamleothong.com"),
alternates: {
canonical: "https://thamleothong.com"},
openGraph: {
title: "Tham Le Thong | Authentic Thai Restaurant", description: "Experience authentic Thai cuisine with traditional recipes and the finest ingredients.", url: "https://thamleothong.com", siteName: "Tham Le Thong", type: "website", images: [
{
url: "https://images.unsplash.com/photo-1455619452474-d2be8b1e4e31?w=1200&h=630", alt: "Authentic Thai Cuisine"},
],
},
twitter: {
card: "summary_large_image", title: "Tham Le Thong | Authentic Thai Restaurant", description: "Experience authentic Thai cuisine with traditional recipes and exceptional service.", images: ["https://images.unsplash.com/photo-1455619452474-d2be8b1e4e31?w=1200&h=630"],
},
robots: {
index: true,
follow: true,
},
};
title: "Tham Le Thong - Authentic Thai Cuisine", description: "Experience authentic Thai cuisine at Tham Le Thong. Reserve your table today."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}