forked from steven-tey/novel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
38 lines (34 loc) · 916 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
31
32
33
34
35
36
37
38
import "@/styles/globals.css";
import "@/styles/prosemirror.css";
import { Metadata } from "next";
import { ReactNode } from "react";
import Providers from "./providers";
const title =
"Novel – Notion-style WYSIWYG editor with AI-powered autocompletions";
const description =
"Novel is a Notion-style WYSIWYG editor with AI-powered autocompletions. Built with Tiptap, OpenAI, and Vercel AI SDK.";
export const metadata: Metadata = {
title,
description,
openGraph: {
title,
description,
},
twitter: {
title,
description,
card: "summary_large_image",
creator: "@steventey",
},
metadataBase: new URL("https://novel.sh"),
themeColor: "#ffffff",
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en" suppressHydrationWarning>
<body>
<Providers>{children}</Providers>
</body>
</html>
);
}