forked from vercel/platforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
30 lines (28 loc) · 809 Bytes
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import "@/styles/globals.css";
import { cal, inter } from "@/styles/fonts";
import { Analytics } from "@vercel/analytics/react";
import { Providers } from "./providers";
import { Metadata } from "next";
import clsx from "clsx";
export const metadata: Metadata = {
title: "Platforms Starter Kit",
description:
"Create a fullstack application with multi-tenancy and custom domains support using Next.js, Prisma, and PostgreSQL",
icons: ["https://vercel.pub/favicon.ico"],
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={clsx(cal.variable, inter.variable)}>
<Providers>
{children}
<Analytics />
</Providers>
</body>
</html>
);
}