82 lines
2.4 KiB
TypeScript
82 lines
2.4 KiB
TypeScript
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";
|
|
|
|
const halant = Halant({
|
|
variable: "--font-halant",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
});
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const roboto = Roboto({
|
|
variable: "--font-roboto",
|
|
subsets: ["latin"],
|
|
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: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=mbqkgd",
|
|
alt: "Excellence Plumbing Las Vegas",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Excellence Plumbing - Las Vegas",
|
|
description: "Fast, honest plumbing services. Water heater experts.",
|
|
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=mbqkgd"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |