82 lines
2.6 KiB
TypeScript
82 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Inter_Tight } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
const halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const interTight = Inter_Tight({
|
|
variable: "--font-inter-tight",
|
|
subsets: ["latin"],
|
|
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "TrendyCart - Affordable Fashion & Trending Products India",
|
|
description: "Shop trendy T-shirts, curated Amazon finds, and budget-friendly lifestyle items. Affordable style for young Indians. Free shipping & easy returns.",
|
|
keywords: "t-shirts india, trendy fashion, affordable products, amazon affiliate, budget shopping, lifestyle items, online shopping india",
|
|
metadataBase: new URL("https://trendycart.in"),
|
|
alternates: {
|
|
canonical: "https://trendycart.in",
|
|
},
|
|
openGraph: {
|
|
title: "TrendyCart - Trendy Fashion & Products for Young Indians",
|
|
description: "Discover affordable T-shirts, trending Amazon products, and budget lifestyle items. Shop now with free shipping!",
|
|
url: "https://trendycart.in",
|
|
siteName: "TrendyCart",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "http://img.b2bpic.net/free-photo/young-people-having-fun_23-2149832974.jpg",
|
|
alt: "TrendyCart - Affordable Fashion & Trending Products",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "TrendyCart - Trendy Fashion & Products India",
|
|
description: "Affordable T-shirts & trending products for young Indians. Shop smart, save more!",
|
|
images: ["http://img.b2bpic.net/free-photo/young-people-having-fun_23-2149832974.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |