mike/frontend/src/app/layout.tsx
2026-05-08 20:45:16 +08:00

68 lines
1.8 KiB
TypeScript

import type { Metadata } from "next";
import { Inter, EB_Garamond } from "next/font/google";
import "./globals.css";
import { Providers } from "@/components/providers";
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const ebGaramond = EB_Garamond({
variable: "--font-eb-garamond",
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
});
export const metadata: Metadata = {
metadataBase: new URL("https://app.mikeoss.com"),
title: "Mike - AI Legal Platform",
description:
"AI-powered legal document analysis and contract review platform.",
icons: {
icon: [
{ url: "/icon.svg", type: "image/svg+xml" },
{ url: "/favicon.ico" },
],
apple: "/apple-touch-icon.png",
},
openGraph: {
type: "website",
url: "https://app.mikeoss.com",
siteName: "Mike",
title: "Mike - AI Legal Platform",
description:
"AI-powered legal document analysis and contract review platform.",
images: [
{
url: "/link-image.jpg",
width: 1200,
height: 651,
alt: "Mike",
},
],
},
twitter: {
card: "summary_large_image",
title: "Mike - AI Legal Platform",
description:
"AI-powered legal document analysis and contract review platform.",
images: ["/link-image.jpg"],
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${inter.variable} ${ebGaramond.variable} font-sans antialiased`}
>
<Providers>{children}</Providers>
</body>
</html>
);
}