Merge version_2 into main #4
@@ -1,75 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Open_Sans } from "next/font/google";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } 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 openSans = Open_Sans({
|
||||
variable: "--font-open-sans",
|
||||
subsets: ["latin"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "AGRIIYUG - Smart Farming Platform for Indian Farmers",
|
||||
description: "AGRIIYUG is the complete smart farming ecosystem for Indian farmers. Real-time market prices, AI disease detection, soil health analytics, and community support.",
|
||||
keywords: "smart farming, agriculture technology, farmer app, crop disease detection, market prices, sustainable farming, India",
|
||||
metadataBase: new URL("https://agriiyug.com"),
|
||||
alternates: {
|
||||
canonical: "https://agriiyug.com",
|
||||
},
|
||||
openGraph: {
|
||||
title: "AGRIIYUG - Empower Your Farm with Smart Technology",
|
||||
description: "Join 50,000+ farmers transforming agriculture with AI insights, real-time market data, and community support.",
|
||||
siteName: "AGRIIYUG",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/a-modern-indian-farmer-using-a-smartphon-1772631158132-0c9a14e2.png",
|
||||
alt: "AGRIIYUG Smart Farming Platform",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "AGRIIYUG - Smart Farming Platform",
|
||||
description: "Empower Indian farmers with AI-driven insights and real-time market data",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATyts8ufploeCLpIYcN05N219n/a-modern-indian-farmer-using-a-smartphon-1772631158132-0c9a14e2.png",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "AGRIIYUG - Smart Farming Platform", description: "Empower your farm with AI-powered insights, market data, and community support"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${openSans.variable} ${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1437,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ export default function HomePage() {
|
||||
<ContactCenter
|
||||
tag="Newsletter"
|
||||
title="Stay Connected with AGRIIYUG"
|
||||
description="Subscribe to receive updates on new features, farming tips, market insights, and exclusive offers for our community."
|
||||
description="Get weekly market price alerts, pest prevention tips, and exclusive equipment deals to maximize your farm's productivity and profitability."
|
||||
tagIcon={Mail}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "radial-gradient" }}
|
||||
@@ -318,4 +318,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user