Update src/app/layout.tsx

This commit is contained in:
2026-02-25 17:34:13 +00:00
parent f8a4ed13d9
commit c1eb80ef90

View File

@@ -1,40 +1,26 @@
import type { Metadata } from "next";
import { Archivo } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const archivo = Archivo({
variable: "--font-archivo", subsets: ["latin"],
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "CryptoLearn - Master Cryptocurrency Trading Online", description: "Learn cryptocurrency trading from industry experts. Comprehensive courses, live sessions, and 24/7 support. Start your crypto education journey today.", keywords: "cryptocurrency, trading, blockchain, crypto education, online courses", robots: {
index: true,
follow: true
},
openGraph: {
title: "CryptoLearn - Master Cryptocurrency Trading", description: "Expert-led online crypto education. Learn trading strategies, blockchain technology, and secure asset management.", type: "website", siteName: "CryptoLearn"
},
twitter: {
card: "summary_large_image", title: "CryptoLearn - Crypto Education Platform", description: "Master cryptocurrency trading with expert guidance and community support."
}
};
title: "CryptoLearn", description: "Master cryptocurrency trading with expert guidance"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${archivo.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.variable}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1402,7 +1388,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}