Update src/app/layout.tsx

This commit is contained in:
2026-02-10 04:40:30 +00:00
parent 3f92413758
commit 85af0aa8ef

View File

@@ -1,48 +1,19 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Plus_Jakarta_Sans } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const plusJakartaSans = Plus_Jakarta_Sans({
variable: "--font-plus-jakarta-sans", subsets: ["latin"],
});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "BuildWave | San Diego Construction Company", description: "Premium construction services in San Diego. Residential, commercial, and renovation projects with 15+ years of excellence and expertise.", keywords: "construction San Diego, home builders, commercial construction, renovation contractor, residential construction", metadataBase: new URL("https://buildwave-construction.com"), title: "BuildWave Construction", description: "Premium construction services for San Diego"};
alternates: {
canonical: "https://buildwave-construction.com"
},
openGraph: {
title: "BuildWave | Professional Construction Services", description: "San Diego's trusted construction company for residential and commercial projects.", siteName: "BuildWave", type: "website", images: [
{
url: "https://img.b2bpic.net/free-photo/standing-industrial-engineers-blue-vests-helmets_496169-947.jpg", alt: "BuildWave Construction Project"
}
]
},
twitter: {
card: "summary_large_image", title: "BuildWave Construction", description: "Premium construction services in San Diego", images: ["https://img.b2bpic.net/free-photo/standing-industrial-engineers-blue-vests-helmets_496169-947.jpg"]
},
robots: {
index: true,
follow: true
}
};
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: {
children: React.ReactNode; children: React.ReactNode;
}>) { }) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en">
<ServiceWrapper> <body>
<body {children}
className={plusJakartaSans.variable}
>
<Tag />
{children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
@@ -1261,7 +1232,6 @@ export default function RootLayout({
}} }}
/> />
</body> </body>
</ServiceWrapper>
</html> </html>
); );
} }