nextjs-tailwindcss-headless.../app/layout.tsx
2023-09-14 09:21:45 +08:00

32 lines
642 B
TypeScript

import { cn } from "@/lib/utils";
import "./globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import React from "react";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body
className={cn(
inter.className,
"flex flex-col justify-center items-center h-full",
)}
>
{children}
</body>
</html>
);
}