Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #4.
This commit is contained in:
@@ -1,74 +1,18 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Figtree } 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 figtree = Figtree({
|
||||
variable: "--font-figtree",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "MarketHub - Premium Multi-Brand Online Marketplace",
|
||||
description: "Shop from 1000+ global brands for fashion, electronics, beauty, home decor, and more. Discover amazing products with competitive prices and fast shipping.",
|
||||
keywords: "online marketplace, shopping, ecommerce, brands, products, fashion, electronics, beauty, home decor",
|
||||
metadataBase: new URL("https://markethub.com"),
|
||||
alternates: {
|
||||
canonical: "https://markethub.com",
|
||||
},
|
||||
openGraph: {
|
||||
title: "MarketHub - Your Ultimate Shopping Destination",
|
||||
description: "Discover the world's finest products from trusted brands. Shop fashion, electronics, beauty, and more.",
|
||||
url: "https://markethub.com",
|
||||
siteName: "MarketHub",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg",
|
||||
alt: "MarketHub - Multi-brand marketplace",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "MarketHub - Shop from 1000+ Brands",
|
||||
description: "Discover amazing products from premium global brands. Fast shipping, secure checkout, 24/7 support.",
|
||||
images: ["http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "MarketHub - Shop Premium Products from Global Brands", description: "Discover the world's finest products from trusted brands. Shop fashion, electronics, beauty, home decor, and more—all in one place."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={GeistSans.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1436,7 +1380,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ export default function HomePage() {
|
||||
animationType="reveal-blur"
|
||||
buttons={[
|
||||
{ text: "Shop Now", href: "/shop" },
|
||||
{ text: "Learn More", href: "/about" },
|
||||
{ text: "See Our Story", href: "/about" },
|
||||
]}
|
||||
background={{ variant: "gradient-bars" }}
|
||||
useInvertedBackground={false}
|
||||
@@ -253,4 +253,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user