Update src/app/layout.tsx
This commit is contained in:
@@ -1,49 +1,32 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Mulish } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import type { Metadata } from 'next';
|
||||
import { Geist, Geist_Mono } from 'next/font/google';
|
||||
import './globals.css';
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish", subsets: ["latin"],
|
||||
const geist = Geist({
|
||||
variable: '--font-geist-sans',
|
||||
subsets: ['latin'],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: '--font-geist-mono',
|
||||
subsets: ['latin'],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "KDC Plumbing Repairs & Emergency Leak Detection Sri Lanka", description: "Fast & reliable plumbing repairs in Sri Lanka. 24/7 emergency service, expert leak detection, tank replacement & more. 4.7★ rated. Call now for same-day response.", keywords: "plumber Sri Lanka, emergency plumbing, leak detection, underground leak repair, plumbing service Colombo", openGraph: {
|
||||
title: "KDC Plumbing - Fast & Reliable Emergency Plumbing in Sri Lanka", description: "Expert plumbing repairs with 30-minute emergency response. Underground leak detection, tank replacement & more.", siteName: "KDC Plumbing", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/man-kneeling-down-inspect-pipes-sink_259150-58249.jpg", alt: "KDC Plumbing Emergency Service"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "KDC Plumbing - Emergency Repairs 24/7", description: "Fast response, expert solutions, fair pricing. Underground leak detection specialists.", images: ["http://img.b2bpic.net/free-photo/man-kneeling-down-inspect-pipes-sink_259150-58249.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
title: 'KDC Plumbing - Emergency Repairs in Sri Lanka',
|
||||
description: 'Fast & reliable plumbing repairs. 24/7 emergency support, leak detection, tank replacement & more.',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${mulish.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1411,7 +1394,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user