Update src/app/layout.tsx

This commit is contained in:
2026-03-06 07:28:55 +00:00
parent 231f38ba01
commit aecc79f935

View File

@@ -1,58 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } 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 interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "CryptoVault - Premium Cryptocurrency Trading Platform", description: "Trade 500+ cryptocurrencies with military-grade security, advanced analytics, and 24/7 support. Join 5M+ traders worldwide.", keywords: "cryptocurrency trading, crypto exchange, Bitcoin, Ethereum, digital assets, blockchain, fintech", metadataBase: new URL("https://cryptovault.com"),
alternates: {
canonical: "https://cryptovault.com"},
openGraph: {
title: "CryptoVault - Secure Crypto Trading", description: "The premier platform for secure cryptocurrency trading with institutional-grade tools and features.", url: "https://cryptovault.com", siteName: "CryptoVault", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AYtnHrrZrg5oVrNt3yETjGRXRL/a-sleek-cryptocurrency-trading-dashboard-1772781560257-4e9779ec.png", alt: "CryptoVault Trading Platform"},
],
},
twitter: {
card: "summary_large_image", title: "CryptoVault - Premium Crypto Trading", description: "Secure, fast, and reliable cryptocurrency trading platform trusted by millions.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AYtnHrrZrg5oVrNt3yETjGRXRL/a-sleek-cryptocurrency-trading-dashboard-1772781560257-4e9779ec.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "CryptoVault - Secure Cryptocurrency Trading Platform", description: "The premier platform for secure cryptocurrency trading, advanced portfolio management, and blockchain innovation."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}