Update src/app/layout.tsx
This commit is contained in:
@@ -1,49 +1,22 @@
|
||||
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";
|
||||
import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
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"],
|
||||
});
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
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,
|
||||
},
|
||||
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.',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1411,7 +1384,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user