Update src/app/layout.tsx
This commit is contained in:
@@ -1,55 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Figtree } from "next/font/google";
|
||||
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 figtree = Figtree({
|
||||
variable: "--font-figtree", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "DaMan Handyman.co | Local Home Repair & Improvement Services", description: "Reliable handyman services you can trust. Fast, affordable, professional. Call 810-333-8736 for plumbing, carpentry, painting, electrical, roofing & more.", keywords: "handyman services, home repair, home improvement, plumbing, electrical, painting, carpentry, roofing, flooring, local handyman", metadataBase: new URL("https://damanhandyman.co"),
|
||||
alternates: {
|
||||
canonical: "https://damanhandyman.co"
|
||||
},
|
||||
openGraph: {
|
||||
title: "DaMan Handyman.co | Trusted Local Handyman Services", description: "Fast. Affordable. Professional. Get your home repairs done right. Call 810-333-8736 for a free estimate.", url: "https://damanhandyman.co", siteName: "DaMan Handyman.co", type: "website"
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "DaMan Handyman.co | Trusted Handyman Services", description: "Professional home repair & improvement. Fast response. Fair pricing. Call 810-333-8736"
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "DaMan Handyman | Fast & Reliable Home Repair Services", description: "Professional handyman services in your area. Fast response times, transparent pricing, and quality workmanship guaranteed."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1417,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user