Merge version_2 into main #2
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -143,8 +143,8 @@ export default function LandingPage() {
|
||||
description="Experience the warmth and flavors of authentic Thai cuisine. Reserve your table now and let us welcome you to Tham Le Thong."
|
||||
background={{ variant: "rotated-rays-animated" }}
|
||||
useInvertedBackground={false}
|
||||
buttonText="Reserve"
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Reserve Table"
|
||||
inputPlaceholder="Your email address"
|
||||
termsText="We respect your privacy. Unsubscribe at any time."
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user