Update src/app/layout.tsx
This commit is contained in:
@@ -1,55 +1,22 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Open_Sans } from "next/font/google";
|
||||
import { Quicksand } 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 openSans = Open_Sans({
|
||||
variable: "--font-open-sans", subsets: ["latin"],
|
||||
});
|
||||
const quicksand = Quicksand({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-quicksand"});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Wealth Construction | Professional Services Durban KZN", description: "Premier construction services in Durban, KZN. Painting, roofing, electrical, plumbing, paving, and turnkey building solutions. Trusted by 500+ clients.", keywords: "construction Durban, painting services, roofing, electrical, plumbing, paving, KZN construction, building contractor", metadataBase: new URL("https://wealthconstruction.co.za"),
|
||||
alternates: {
|
||||
canonical: "https://wealthconstruction.co.za"
|
||||
},
|
||||
openGraph: {
|
||||
title: "Wealth Construction - Quality Building Services", description: "Professional construction and renovation services in Durban, KZN. Expert craftsmanship in painting, roofing, electrical, and more.", url: "https://wealthconstruction.co.za", siteName: "Wealth Construction", type: "website"
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Wealth Construction - Building Excellence in Durban", description: "Your trusted partner for quality construction services in KZN Durban"
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Wealth Construction - Professional Construction Services in Durban, KZN", description: "Premium construction and renovation services in Durban, KZN. Painting, roofing, electrical, plumbing, paving, and more. Your trusted partner for quality craftsmanship.", keywords: "construction, durban, painting, roofing, electrical, plumbing, paving, renovation, KZN"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={quicksand.variable}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1417,7 +1384,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user