Update src/app/layout.tsx

This commit is contained in:
2026-03-17 09:36:05 +00:00
parent db8db9d0f8
commit dd02155d3b

View File

@@ -1,28 +1,60 @@
import type { Metadata } from "next";
import { Mulish, Inter } 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";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "ShopHub - Premium Ecommerce Shopping",
description: "Discover premium products with fast shipping, secure checkout, and 24/7 customer support. Shop now and get exclusive member benefits.",
keywords: "ecommerce, online shopping, products, fast shipping, secure checkout",
metadataBase: new URL("https://shophub.com"),
alternates: {
canonical: "https://shophub.com",
},
openGraph: {
title: "ShopHub - Your Premium Shopping Destination",
description: "Shop premium curated products with fast, free shipping and exceptional customer service.",
url: "https://shophub.com",
siteName: "ShopHub",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/friends-shopping-second-hand-market_23-2149353701.jpg",
alt: "ShopHub Featured Products",
},
],
},
twitter: {
card: "summary_large_image",
title: "ShopHub - Premium Shopping",
description: "Discover premium curated products with fast shipping and excellent support.",
images: ["http://img.b2bpic.net/free-photo/friends-shopping-second-hand-market_23-2149353701.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -31,7 +63,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${mulish.variable} ${inter.variable} antialiased`}>
<body
className={`${mulish.variable} ${inter.variable} ${halant.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -43,4 +77,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}