Files
LexiChain/app/layout.tsx

113 lines
3.1 KiB
TypeScript
Raw Normal View History

2026-02-14 20:21:02 +01:00
import type { Metadata } from "next";
2026-03-25 13:52:45 +01:00
import { Inter, JetBrains_Mono } from "next/font/google";
2026-02-14 20:21:02 +01:00
import "./globals.css";
2026-02-14 21:47:08 +01:00
import { Providers } from "./provider";
2026-02-14 20:21:02 +01:00
2026-03-25 13:52:45 +01:00
// Modern sans-serif font for body text
const inter = Inter({
2026-02-14 20:21:02 +01:00
subsets: ["latin"],
2026-03-25 13:52:45 +01:00
variable: "--font-inter",
2026-02-17 00:14:38 +01:00
display: "swap",
2026-03-25 13:52:45 +01:00
weight: ["300", "400", "500", "600", "700"],
2026-02-14 20:21:02 +01:00
});
2026-03-25 13:52:45 +01:00
// Monospace font for code and numbers
const jetbrainsMono = JetBrains_Mono({
2026-02-14 20:21:02 +01:00
subsets: ["latin"],
2026-03-25 13:52:45 +01:00
variable: "--font-mono",
2026-02-17 00:14:38 +01:00
display: "swap",
2026-03-25 13:52:45 +01:00
weight: ["400", "500", "600", "700"],
2026-02-14 20:21:02 +01:00
});
export const metadata: Metadata = {
2026-03-25 13:52:45 +01:00
title: {
default: "LexiChain - AI-Powered Contract Management",
template: "%s | LexiChain",
},
description:
"Intelligent BFSI contract management platform with AI-powered analysis. Manage your insurance, loan, and financial contracts with blockchain-verified security.",
keywords: [
"contract management",
"insurance",
"BFSI",
"AI contract analysis",
"document management",
"blockchain",
"smart contracts",
],
authors: [{ name: "Your Name" }],
creator: "Your Name",
publisher: "LexiChain",
metadataBase: new URL("https://lexichain.com"), // Replace with your domain
openGraph: {
type: "website",
locale: "fr_FR",
url: "https://lexichain.com",
title: "LexiChain - AI-Powered Contract Management",
description:
"Intelligent contract management platform with AI analysis and blockchain verification.",
siteName: "LexiChain",
images: [
{
url: "/og-image.png", // Create this image (1200x630px)
width: 1200,
height: 630,
alt: "LexiChain Platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "LexiChain - AI-Powered Contract Management",
description:
"Intelligent contract management platform with AI analysis and blockchain verification.",
images: ["/og-image.png"],
creator: "@lexichain", // Replace with your Twitter handle
},
robots: {
index: true,
follow: true,
googleBot: {
index: true,
follow: true,
"max-video-preview": -1,
"max-image-preview": "large",
"max-snippet": -1,
},
},
icons: {
icon: [
{ url: "/favicon.ico" },
{ url: "/icon-192.png", sizes: "192x192", type: "image/png" },
{ url: "/icon-512.png", sizes: "512x512", type: "image/png" },
],
apple: [{ url: "/apple-icon.png", sizes: "180x180", type: "image/png" }],
},
manifest: "/manifest.json",
2026-02-14 20:21:02 +01:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2026-03-25 13:52:45 +01:00
<html lang="fr" suppressHydrationWarning>
<head>
{/* Preconnect to external domains for performance */}
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="anonymous"
/>
</head>
2026-02-14 20:21:02 +01:00
<body
2026-03-25 13:52:45 +01:00
className={`${inter.variable} ${jetbrainsMono.variable} font-sans antialiased`}
2026-02-14 20:21:02 +01:00
>
2026-02-14 21:47:08 +01:00
<Providers>{children}</Providers>
2026-02-14 20:21:02 +01:00
</body>
</html>
);
}