Update src/app/layout.tsx

This commit is contained in:
2026-03-06 04:23:35 +00:00
parent 6beaa63b14
commit a757d087ef

View File

@@ -1,48 +1,28 @@
import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { Geist, Geist_Mono } from "next/font/google";
import "@/styles/globals.css";
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "ProFence | Premium Fencing Installation & Repair", description: "Expert fencing solutions for residential and commercial properties. Wooden, vinyl, and metal fencing with 30+ years of experience. Free quotes available.", keywords: "fencing contractor, fence installation, vinyl fencing, wooden fence, metal fence, fence repair, residential fencing, commercial fencing", robots: {
index: true,
follow: true,
},
openGraph: {
title: "ProFence | Premium Fencing Solutions", description: "Transform your property with expert fencing installation and repair services.", siteName: "ProFence", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/modern-wooden-fence-lush-green-hedge-garden-landscape_626616-510.jpg", alt: "ProFence portfolio showcase"},
],
},
twitter: {
card: "summary_large_image", title: "ProFence | Premium Fencing Solutions", description: "Expert fencing installation and repair services. Free quote today.", images: ["http://img.b2bpic.net/free-photo/modern-wooden-fence-lush-green-hedge-garden-landscape_626616-510.jpg"],
},
};
title: "ProFence - Premium Fencing Solutions", description: "Expert fencing installation and design services for residential and commercial properties."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${montserrat.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1410,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}