Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c81c8fc17e | |||
| 4bea373591 | |||
| 40c6333bf1 | |||
| 56a0d01366 | |||
| def587f10f | |||
| e4fda2a2b9 |
@@ -1,74 +1,18 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import { Figtree } from "next/font/google";
|
|
||||||
import "./globals.css";
|
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 = {
|
export const metadata: Metadata = {
|
||||||
title: "MarketHub - Premium Multi-Brand Online Marketplace",
|
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."
|
||||||
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,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1436,7 +1380,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ export default function HomePage() {
|
|||||||
animationType="reveal-blur"
|
animationType="reveal-blur"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Shop Now", href: "/shop" },
|
{ text: "Shop Now", href: "/shop" },
|
||||||
{ text: "Learn More", href: "/about" },
|
{ text: "See Our Story", href: "/about" },
|
||||||
]}
|
]}
|
||||||
background={{ variant: "gradient-bars" }}
|
background={{ variant: "gradient-bars" }}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
@@ -253,4 +253,4 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user