- Add dashboard shell with auth integration - Wire Better Auth / Convex (client, server, HTTP routes) - Add shadcn-style UI primitives and logo assets - Update global styles and landing page - Add internal docs (.docs) Made-with: Cursor
40 lines
997 B
TypeScript
40 lines
997 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono, Manrope } from "next/font/google";
|
|
import "./globals.css";
|
|
import { cn } from "@/lib/utils";
|
|
import { ConvexClientProvider } from "@/components/ui/convex-prover";
|
|
|
|
const manrope = Manrope({subsets:['latin'],variable:'--font-sans'});
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={cn("h-full", "antialiased", geistSans.variable, geistMono.variable, "font-sans", manrope.variable)}
|
|
>
|
|
<body className="min-h-full flex flex-col">
|
|
<ConvexClientProvider>{children}</ConvexClientProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|