Update src/app/layout.tsx

This commit is contained in:
2026-03-12 16:51:04 +00:00
parent f99a08fa3a
commit 3e40e08e8c

View File

@@ -6,18 +6,50 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
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: "ShopHub - Premium Products Online | Best Deals & Quality",
description: "Shop premium products with ShopHub. Discover curated collections, competitive prices, and exceptional customer service. 50K+ happy customers trust us.",
keywords: "e-commerce, online shopping, premium products, quality goods, buy online, deals",
metadataBase: new URL("https://shophub.com"),
alternates: {
canonical: "https://shophub.com",
},
openGraph: {
title: "ShopHub - Premium Products Online",
description: "Discover curated collections of high-quality products delivered to your door",
url: "https://shophub.com",
siteName: "ShopHub",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/people-line-waiting-social-distance-stripe_23-2148863827.jpg",
alt: "ShopHub - Online Shopping",
},
],
},
twitter: {
card: "summary_large_image",
title: "ShopHub - Premium Products Online",
description: "Shop premium products with competitive prices and exceptional service",
images: ["http://img.b2bpic.net/free-photo/people-line-waiting-social-distance-stripe_23-2148863827.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -26,7 +58,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -38,4 +72,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}