Update src/app/layout.tsx

This commit is contained in:
2026-03-09 05:42:45 +00:00
parent 512495345b
commit 35d69def37

View File

@@ -1,47 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Public_Sans } from "next/font/google";
import { GeistSans } from "geist/font/sans";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const publicSans = Public_Sans({
variable: "--font-public-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Premium Product Showcase | Your Shop", description: "Explore our curated collection of premium products. Each item is carefully selected for quality, style, and craftsmanship.", keywords: "premium products, curated collection, luxury items, product showcase, quality goods", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Premium Product Collection", description: "Discover our carefully curated selection of high-quality products.", siteName: "Your Shop", type: "website"},
};
title: "Your Shop - Premium Collection", description: "Explore our curated selection of premium products"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={GeistSans.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1409,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}