Update src/app/layout.tsx

This commit is contained in:
2026-03-10 17:53:00 +00:00
parent 871b7cc1e1
commit 4bd3f767ef

View File

@@ -1,18 +1,22 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Roboto } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Roboto } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const roboto = Roboto({
variable: "--font-roboto",
@@ -20,6 +24,39 @@ const roboto = Roboto({
weight: ["100", "300", "400", "500", "700", "900"],
});
export const metadata: Metadata = {
title: "Excellence Plumbing - Las Vegas Plumbing Services",
description: "Fast, honest plumbing services in Las Vegas. Water heater repair, emergency plumbing, and installations. Same-day service available. Licensed technicians.",
keywords: "Las Vegas plumber, water heater repair, emergency plumbing, plumbing services",
metadataBase: new URL("https://excellenceplumbing.com"),
alternates: {
canonical: "https://excellenceplumbing.com",
},
openGraph: {
title: "Excellence Plumbing - Las Vegas Plumbing Services",
description: "Fast, honest plumbing services from trusted local technicians. Same-day service available.",
url: "https://excellenceplumbing.com",
siteName: "Excellence Plumbing",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/man-kneeling-down-touching-sink-inspecting-pipes_259150-58251.jpg",
alt: "Excellence Plumbing Las Vegas",
},
],
},
twitter: {
card: "summary_large_image",
title: "Excellence Plumbing - Las Vegas",
description: "Fast, honest plumbing services. Water heater experts.",
images: ["http://img.b2bpic.net/free-photo/man-kneeling-down-touching-sink-inspecting-pipes_259150-58251.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -28,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${roboto.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -40,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}