Files
45dc8ca8-fb14-4d8b-9d0e-050…/src/app/layout.tsx
2026-04-20 16:00:01 +00:00

56 lines
1.7 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Libre_Baskerville } from "next/font/google";
export const metadata: Metadata = {
title: 'TradeLearn - Master the Financial Markets',
description: 'The premier education platform for aspiring traders. Master institutional strategies, risk management, and market psychology with our professional-grade trading courses.',
keywords: ["trading course, learn to trade, stock market education, day trading, market analysis, institutional trading, risk management"],
openGraph: {
"title": "TradeLearn - Master the Financial Markets",
"description": "Professional-grade trading education for the next generation of successful investors.",
"siteName": "TradeLearn",
"type": "website"
},
};
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}