41 lines
969 B
TypeScript
41 lines
969 B
TypeScript
import "./globals.css";
|
|
|
|
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
|
|
import { ClerkProvider } from "@clerk/nextjs";
|
|
import { IBM_Plex_Sans, Sora } from "next/font/google";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "OpenClaw Mission Control",
|
|
description: "A calm command center for every task.",
|
|
};
|
|
|
|
const bodyFont = IBM_Plex_Sans({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-body",
|
|
weight: ["400", "500", "600", "700"],
|
|
});
|
|
|
|
const headingFont = Sora({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-heading",
|
|
weight: ["500", "600", "700"],
|
|
});
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<ClerkProvider>
|
|
<html lang="en">
|
|
<body
|
|
className={`${bodyFont.variable} ${headingFont.variable} min-h-screen bg-app text-strong antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
</ClerkProvider>
|
|
);
|
|
}
|