Update src/app/layout.tsx

This commit is contained in:
2026-03-04 06:39:56 +00:00
parent d114ecee93
commit d1b41c8111

View File

@@ -1,60 +1,17 @@
import type { Metadata } from "next";
import { Inter_Tight } from "next/font/google";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Ga Nhỏ Camping - Quán nướng ngoài trời Vinh, Nghệ An", description: "Quán nướng chill với không gian rộng ngoài trời, mái che, phòng riêng. Đặt bàn online hoặc gọi ngay. 100K-200K/người. Vinh, Nghệ An.", keywords: "quán nướng Vinh, quán camping Vinh, nướng ngoài trời Nghệ An, đặt bàn quán nướng", metadataBase: new URL("https://ganhocamping.com"),
alternates: {
canonical: "https://ganhocamping.com"
},
openGraph: {
title: "Ga Nhỏ Camping - Quán nướng ngoài trời Vinh", description: "Không gian chill, đồ ăn đậm vị, phù hợp tụ họp bạn bè & gia đình", url: "https://ganhocamping.com", siteName: "Ga Nhỏ Camping", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/night-campfire-night_1182-1135.jpg", alt: "Ga Nhỏ Camping outdoor BBQ space"
}
]
},
twitter: {
card: "summary_large_image", title: "Ga Nhỏ Camping - Quán nướng ngoài trời Vinh", description: "Trải nghiệm nướng ngoài trời giữa lòng Vinh", images: ["http://img.b2bpic.net/free-photo/night-campfire-night_1182-1135.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "Ga Nhỏ Camping", description: "Trải nghiệm nướng ngoài trời giữa lòng Vinh"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${interTight.variable} ${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="vi">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1422,7 +1379,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}