Update src/app/layout.tsx

This commit is contained in:
2026-03-07 17:52:32 +00:00
parent 8d1da73235
commit a1f1099dd1

View File

@@ -1,57 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Raleway } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const raleway = Raleway({
variable: "--font-raleway", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Professional Lawn Care Service Tennessee | Allen's Lawn Care", description: "5-star rated lawn care service in Tennessee. Mowing, landscaping, weed control & more. Free quotes. Reliable local professionals serving homeowners & businesses.", keywords: "lawn care near me, lawn mowing service, landscaping service, weed control, sod installation, lawn maintenance Tennessee, professional lawn care", metadataBase: new URL("https://allenslawncare.local"),
alternates: {
canonical: "https://allenslawncare.local"},
openGraph: {
title: "Allen's Lawn Care - Professional Lawn Service Tennessee", description: "Your trusted local lawn care company. 5.0★ rated with 23+ reviews. Professional mowing, landscaping & lawn maintenance.", url: "https://allenslawncare.local", siteName: "Allen's Lawn Care", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/high-angle-shot-green-grass-daytime_181624-11303.jpg", alt: "Professional lawn care service"},
],
},
twitter: {
card: "summary_large_image", title: "Professional Lawn Care | Allen's Lawn Care", description: "5-star rated lawn care service. Free quotes available. Call now!", images: ["http://img.b2bpic.net/free-photo/high-angle-shot-green-grass-daytime_181624-11303.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Allen's Lawn Care - Professional Lawn Maintenance in Tennessee", description: "Professional lawn care services in Tennessee. Mowing, landscaping, and lawn maintenance you can trust."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}