Update src/app/layout.tsx

This commit is contained in:
2026-03-11 09:59:22 +00:00
parent 91654ebf63
commit e842833571

View File

@@ -1,24 +1,59 @@
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 { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Figtree } 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 figtree = Figtree({
variable: "--font-figtree",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "AgriLink - Agricultural Marketplace for Uganda Farmers",
description: "AgriLink connects farmers directly with buyers and logistics providers in Uganda. Transparent pricing, blockchain transactions, and efficient delivery for agricultural commerce.",
keywords: "agricultural marketplace, Uganda farmers, blockchain agriculture, direct farmer sales, produce trading",
metadataBase: new URL("https://agrilink.platform"),
alternates: {
canonical: "https://agrilink.platform",
},
openGraph: {
title: "AgriLink - Empower Farmers Through Digital Connection",
description: "Connect directly with buyers, eliminate middlemen, and grow your agricultural business with AgriLink's transparent marketplace.",
url: "https://agrilink.platform",
siteName: "AgriLink",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-vibrant-african-agricultural-marketpla-1773223069874-61ae9602.png",
alt: "AgriLink agricultural marketplace platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "AgriLink - Agricultural Marketplace for Uganda",
description: "Transparent, secure agricultural commerce connecting farmers, buyers, and logistics.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-vibrant-african-agricultural-marketpla-1773223069874-61ae9602.png",
],
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +62,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${figtree.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +76,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}