- Add email/code login with verification - Add Google OAuth login - Add desktop callback API route - Add request service with device ID handling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
60 lines
1.6 KiB
TypeScript
60 lines
1.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist_Mono, Inter, Playfair_Display } from "next/font/google";
|
|
import "@multica/ui/globals.css";
|
|
import { ThemeProvider } from "@multica/ui/components/theme-provider";
|
|
import { Toaster } from "@multica/ui/components/ui/sonner";
|
|
import { ServiceWorkerRegister } from "./sw-register";
|
|
import { Providers } from "./providers";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const playfair = Playfair_Display({
|
|
variable: "--font-brand",
|
|
subsets: ["latin"],
|
|
weight: ["400"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Multica",
|
|
description: "Distributed AI agent framework",
|
|
appleWebApp: {
|
|
capable: true,
|
|
statusBarStyle: "black-translucent",
|
|
title: "Multica",
|
|
},
|
|
icons: {
|
|
apple: "/apple-touch-icon.png",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={inter.variable} suppressHydrationWarning>
|
|
<body
|
|
className={`${geistMono.variable} ${playfair.variable} font-sans antialiased h-dvh flex flex-col`}
|
|
>
|
|
<Providers>
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
<div className="h-dvh overflow-hidden">{children}</div>
|
|
</ThemeProvider>
|
|
</Providers>
|
|
<Toaster />
|
|
<ServiceWorkerRegister />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|