Update src/app/layout.tsx

This commit is contained in:
2026-03-07 23:18:17 +00:00
parent c64215162a
commit 1d68651008

View File

@@ -1,54 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } 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 inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Professional Tree Service Nashville | Sky Tree Services", description: "Expert tree removal, trimming, and stump grinding in Nashville. 4.9★ rated, licensed & insured, 24/7 emergency service. Free estimates available.", keywords: "tree removal Nashville, tree service Nashville, tree trimming, stump grinding, emergency tree removal, arborist Nashville", metadataBase: new URL("https://skytreeservices.com"),
alternates: {
canonical: "https://skytreeservices.com"
},
openGraph: {
title: "Sky Tree Services | Nashville Tree Removal & Trimming", description: "Professional tree removal, trimming, and stump grinding in Nashville. 4.9★ rated local service. Call 615-568-9651 for 24/7 emergency response.", url: "https://skytreeservices.com", siteName: "Sky Tree Services", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/man-trimming-bough-brush-guy-works-backyard_1157-41449.jpg", alt: "professional tree service crew working safely"
}
]
},
twitter: {
card: "summary_large_image", title: "Sky Tree Services | Nashville Tree Removal", description: "Expert tree removal and trimming in Nashville. 4.9★ rated, licensed & insured. Call 615-568-9651 for free estimate.", images: ["http://img.b2bpic.net/free-photo/man-trimming-bough-brush-guy-works-backyard_1157-41449.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "Sky Tree Services - Professional Tree Removal Nashville", description: "Fast, affordable, and reliable tree service available 24/7. Professional tree removal, trimming, and stump grinding in Nashville, TN."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1416,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}