|
|
|
|
@@ -1,49 +1,28 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Source_Sans_3 } from "next/font/google";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const sourceSans3 = Source_Sans_3({
|
|
|
|
|
variable: "--font-source-sans-3",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
const geist = Geist({
|
|
|
|
|
variable: "--font-geist-sans", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "mmart - Premium Online Shopping Platform",
|
|
|
|
|
description: "Shop thousands of premium products with fast shipping, secure payments, and 24/7 customer support. Join 500K+ happy customers at mmart.",
|
|
|
|
|
keywords: "online shopping, ecommerce, products, buy online, shopping platform, retail",
|
|
|
|
|
metadataBase: new URL("https://mmart.example.com"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://mmart.example.com",
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "mmart - Premium Online Shopping",
|
|
|
|
|
description: "Discover curated products, exclusive deals, and seamless shopping experience.",
|
|
|
|
|
siteName: "mmart",
|
|
|
|
|
type: "website",
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image",
|
|
|
|
|
title: "mmart - Shop Premium Products",
|
|
|
|
|
description: "Fast shipping, secure payments, 24/7 support",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "mmart - Premium Online Shopping", description: "Discover an extensive collection of premium products curated just for you. Shop with confidence and enjoy seamless checkout experiences."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${sourceSans3.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1411,7 +1390,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|