Update src/app/layout.tsx
This commit is contained in:
@@ -1,59 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito } from "next/font/google";
|
||||
import "./styles/variables.css";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
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: "Local Plumber | Hobbs Plumbing LLC | 24/7 Emergency Service", description: "Fast, reliable plumbing services in your area. 4.9⭐ rated. Emergency repairs, drain cleaning, water heater service. Licensed & insured. Free estimates. Call now!", keywords: "plumber near me, local plumber, emergency plumbing, plumbing repair, drain cleaning, water heater repair", metadataBase: new URL("https://hobbsplumbing.local"),
|
||||
alternates: {
|
||||
canonical: "https://hobbsplumbing.local"
|
||||
},
|
||||
openGraph: {
|
||||
title: "Hobbs Plumbing LLC - Trusted Local Plumber", description: "Professional plumbing services with 4.9⭐ rating. Fast response, licensed & insured. Call (555) 123-4567 now.", url: "https://hobbsplumbing.local", siteName: "Hobbs Plumbing LLC", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-standing-near-kitchen-sink-showing-thumb-up_1098-17826.jpg", alt: "Professional plumber providing service"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Hobbs Plumbing LLC - Emergency Plumbing Services", description: "Local plumber trusted by 55+ customers. Fast, reliable, licensed & insured. Call now for same-day service.", images: ["http://img.b2bpic.net/free-photo/cheerful-asian-plumber-standing-near-kitchen-sink-showing-thumb-up_1098-17826.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "Hobbs Plumbing - Local Plumbing Experts", description: "Fast, reliable plumbing service in Auburn and Opelika, AL. Licensed, insured, and committed to solving your plumbing problems right the first time."};
|
||||
|
||||
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: `
|
||||
@@ -1421,7 +1385,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user