create-n4-app
Version:
Create Next.js app with the n4 stack
27 lines (26 loc) • 745 B
JSX
// @ts-ignore
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ClerkProvider } from "@clerk/nextjs";
import React from "react";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata = {
title: "Todo",
description: "Generated by create next app",
};
export default function RootLayout({ children, }) {
return (<ClerkProvider afterSignOutUrl={"/sign-in"}>
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
{children}
</body>
</html>
</ClerkProvider>);
}