Switch to version 1: modified src/app/layout.tsx

This commit is contained in:
2026-03-09 10:10:06 +00:00
parent 30ed9a1d41
commit 269aa14874

View File

@@ -1,22 +1,49 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Open_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ 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 openSans = Open_Sans({
variable: "--font-open-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: 'AGRO\'S - Premium Manure Solutions for Modern Agriculture',
description: 'High-quality, sustainably sourced manure and compost products for farmers and gardeners. Trusted for over 20 years.',
title: "AGRO'S - Premium Agricultural Manure & Compost Solutions", description: "Quality manure products for farms and gardens. Sustainable, tested, and delivered fast. Trusted agricultural supplier for soil health and crop yields.", keywords: "manure, compost, agricultural fertilizer, organic manure, farm supplies, crop soil amendment, bulk delivery", openGraph: {
title: "AGRO'S - Premium Manure Solutions for Agriculture", description: "Sustainable, high-quality manure products to boost soil health and crop yields. Trusted by farmers nationwide.", siteName: "AGRO'S", type: "website"},
twitter: {
card: "summary_large_image", title: "AGRO'S Premium Manure Store", description: "Quality agricultural manure and compost solutions for sustainable farming."},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1384,6 +1411,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}