forked from vercel/platforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
48 lines (45 loc) · 1.24 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 { cn } from "@/lib/utils";
const title =
"Platforms Starter Kit – The all-in-one starter kit for building multi-tenant applications.";
const description =
"The Platforms Starter Kit is a full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router, Vercel Postgres and the Vercel Domains API.";
const image = "https://vercel.pub/thumbnail.png";
export const metadata: Metadata = {
title,
description,
icons: ["https://vercel.pub/favicon.ico"],
openGraph: {
title,
description,
images: [image],
},
twitter: {
card: "summary_large_image",
title,
description,
images: [image],
creator: "@vercel",
},
metadataBase: new URL("https://vercel.pub"),
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={cn(cal.variable, inter.variable)}>
<Providers>
{children}
<Analytics />
</Providers>
</body>
</html>
);
}