Update src/app/layout.tsx
This commit is contained in:
@@ -1,28 +1,55 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import { Inter } 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 { DM_Sans } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "My Trade - Real-Time Crypto Trading Statistics & Analytics",
|
||||
description: "Master cryptocurrency trading with My Trade's advanced analytics, real-time market data, and professional-grade trading tools. Track performance, analyze trends, and make informed decisions.",
|
||||
keywords: ["crypto trading stats", "cryptocurrency analytics", "trading statistics", "bitcoin ethereum", "portfolio tracker", "trading platform"],
|
||||
metadataBase: new URL("https://mytrade.com"),
|
||||
alternates: {
|
||||
canonical: "https://mytrade.com"
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
},
|
||||
openGraph: {
|
||||
title: "My Trade - Crypto Trading Statistics Platform",
|
||||
description: "Advanced trading analytics and real-time crypto market statistics for professional traders.",
|
||||
type: "website",
|
||||
siteName: "My Trade",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/a-modern-cryptocurrency-trading-dashboar-1773136513834-a197d971.png",
|
||||
alt: "My Trade cryptocurrency trading dashboard"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "My Trade - Crypto Trading Statistics",
|
||||
description: "Master your crypto trading with advanced analytics and real-time market data.",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/a-modern-cryptocurrency-trading-dashboar-1773136513834-a197d971.png"
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -31,7 +58,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
|
||||
<body
|
||||
className={`${dmSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -43,4 +72,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user