Update src/app/layout.tsx

This commit is contained in:
2026-03-10 13:16:22 +00:00
parent a13619ad0d
commit feb9d7feaa

View File

@@ -1,28 +1,56 @@
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 "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
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"],
});
export const metadata: Metadata = {
title: "HomeHub Kenya - Find Homes to Rent & Buy",
description: "Discover verified rental and sale listings across Kenya. Browse apartments, houses, and villas. Connect with trusted sellers and landlords securely.",
keywords: "property rental Kenya, apartments nairobi, houses for sale, real estate kenya, home rental",
robots: {
index: true,
follow: true,
},
openGraph: {
title: "HomeHub Kenya - Your Real Estate Marketplace",
description: "Find your perfect home in Kenya. Browse thousands of verified listings for rent or sale.",
type: "website",
siteName: "HomeHub Kenya",
images: [
{
url: "http://img.b2bpic.net/free-photo/aerial-view-beautiful-village-surrounded-by-nature_1268-15591.jpg",
alt: "HomeHub Kenya Real Estate Platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "HomeHub Kenya - Find Homes to Rent & Buy",
description: "Discover verified rental and sale listings across Kenya.",
images: ["http://img.b2bpic.net/free-photo/aerial-view-beautiful-village-surrounded-by-nature_1268-15591.jpg"],
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -31,7 +59,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -43,4 +73,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}