Update src/app/layout.tsx
This commit is contained in:
@@ -1,57 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import "@/styles/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 nunito = Nunito({
|
||||
variable: "--font-nunito", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Precision Contracting | Kansas City Residential & Commercial Construction", description: "Premium residential remodeling, home additions, and light commercial construction in Kansas City. Precision craftsmanship, transparent pricing, and reliable project completion.", keywords: "construction Kansas City, home remodeling, contractor Liberty MO, residential renovation, deck installation, roofing repair", metadataBase: new URL("https://precisioncontracting.com"),
|
||||
alternates: {
|
||||
canonical: "https://precisioncontracting.com"},
|
||||
openGraph: {
|
||||
title: "Precision Contracting | Kansas City Construction & Remodeling", description: "High-quality residential and commercial construction services with owner involvement and transparent pricing.", url: "https://precisioncontracting.com", siteName: "Precision Contracting", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/man-tank-top-with-tool-belt-construction-site_23-2152021011.jpg", alt: "Precision Contracting - Professional Construction Services"},
|
||||
],
|
||||
type: "website"},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Precision Contracting | Kansas City Construction", description: "Premium construction services with precision craftsmanship and transparent communication.", images: ["http://img.b2bpic.net/free-photo/man-tank-top-with-tool-belt-construction-site_23-2152021011.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Precision Contracting | Kansas City Construction", description: "Premium residential and light commercial construction services in Kansas City. Transparent pricing, quality craftsmanship, and reliable project completion."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunito.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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user