Update src/app/layout.tsx

This commit is contained in:
2026-03-16 16:48:57 +00:00
parent ccd070d99e
commit a1c091f4a5

View File

@@ -1,24 +1,60 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito_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 { Nunito_Sans } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "ClassifiedHub - Buy & Sell Online Classifieds",
description: "Post free classified ads and browse millions of items. Safe, secure marketplace for buying and selling anything online.",
keywords: "classifieds, buy sell online, marketplace, classified ads, free listings",
metadataBase: new URL("https://classifiedhub.com"),
alternates: {
canonical: "https://classifiedhub.com",
},
openGraph: {
title: "ClassifiedHub - Buy & Sell Online",
description: "Secure marketplace for classified ads. Connect with buyers and sellers worldwide.",
siteName: "ClassifiedHub",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-vector/flat-design-web-pop-up-collection_23-2149119270.jpg",
alt: "ClassifiedHub Marketplace",
},
],
},
twitter: {
card: "summary_large_image",
title: "ClassifiedHub - Buy & Sell Online",
description: "Secure classified ads marketplace",
images: ["http://img.b2bpic.net/free-vector/flat-design-web-pop-up-collection_23-2149119270.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +63,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunitoSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +77,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}