Update src/app/layout.tsx

This commit is contained in:
2026-03-19 20:39:53 +00:00
parent e619b03f4c
commit 078590f025

View File

@@ -1,24 +1,63 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Mulish } 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";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Greenwich Agro - Farm Fresh, Token Rich Marketplace",
description: "Connect with local farmers and earn GreenTokens with every purchase. Shop sustainable organic produce directly from farms. Gamified rewards platform for conscious consumers.",
keywords: "organic agriculture, farmers market, local farming, sustainable food, agricultural marketplace, farm fresh produce, rewards program, eco-friendly shopping",
metadataBase: new URL("https://greenwichasgro.com"),
alternates: {
canonical: "https://greenwichasgro.com",
},
openGraph: {
title: "Greenwich Agro - Agricultural E-Commerce Platform",
description: "Farm Fresh, Token Rich. Connect directly with local farmers and earn rewards.",
url: "https://greenwichasgro.com",
siteName: "Greenwich Agro",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBAbmrzyCv9ReHBA5keCBu7vFL/a-vibrant-agricultural-marketplace-scene-1773952724037-59dfe403.png",
alt: "Greenwich Agro marketplace platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "Greenwich Agro - Farm Fresh, Token Rich",
description: "Shop sustainable local agriculture and earn GreenTokens.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBAbmrzyCv9ReHBA5keCBu7vFL/a-vibrant-agricultural-marketplace-scene-1773952724037-59dfe403.png",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +66,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${mulish.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +80,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}