Update src/app/layout.tsx

This commit is contained in:
2026-03-07 09:21:30 +00:00
parent 006a30858b
commit cbfdc6a890

View File

@@ -1,75 +1,23 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Poppins } 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 poppins = Poppins({
variable: "--font-poppins",
subsets: ["latin"],
variable: "--font-poppins", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "Mutual Fund Distribution Platform - FundHub",
description: "Access diversified mutual fund schemes with transparent performance metrics, expert guidance, and flexible investment options. Compare funds, view ratios, and start investing today.",
keywords: "mutual funds, fund schemes, investment, SIP, performance analysis, fund comparison, wealth management",
metadataBase: new URL("https://fundhub.example.com"),
alternates: {
canonical: "https://fundhub.example.com",
},
openGraph: {
title: "Smart Mutual Fund Investing - FundHub",
description: "Invest in diversified mutual funds with transparent performance tracking and expert guidance.",
url: "https://fundhub.example.com",
siteName: "FundHub",
type: "website",
images: [
{
url: "https://fundhub.example.com/og-image.png",
alt: "FundHub - Mutual Fund Distribution Platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "Smart Mutual Fund Investing - FundHub",
description: "Invest in diversified mutual funds with transparent performance tracking and expert guidance.",
images: ["https://fundhub.example.com/twitter-image.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "FundHub - Mutual Fund Distribution Platform", description: "Access diversified mutual fund schemes with transparent performance metrics, expert guidance, and flexible investment options."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${poppins.variable} antialiased`}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1437,7 +1385,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}