aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app/layout.tsx
blob: 0c79588e19622af21620cf7f8bed2f7d1e5a5d3a (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import type { Metadata } from "next";
import { Roboto, Inter } from "next/font/google";
import "./globals.css";

const inter = Inter({ weight: ["300", "400", "500"], subsets: ["latin"] });

export const metadata: Metadata = {
  title: "Supermemory - Your second brain",
  description: "Save your memories forever, build your own second brain.",
  openGraph: {
    images: [
      {
        url: "https://supermemory.dhr.wtf/og-image.png",
        width: 1200,
        height: 630,
      },
    ],
    siteName: "Supermemory",
    title: "Supermemory - Your second brain",
    description: "Save your memories forever, build your own second brain.",
  },
  twitter: {
    card: "summary_large_image",
    site: "https://supermemory.dhr.wtf",
    creator: "@dhravyashah",
    description: "Save your memories forever, build your own second brain.",
    images: [
      {
        url: "https://supermemory.dhr.wtf/og-image.png",
        width: 1200,
        height: 630,
      },
    ],
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" className="dark">
      <head>
        <meta
          name="og:image"
          content="https://supermemory.dhr.wtf/og-image.png"
        />
        <script
          async
          src="https://u.dhr.wtf/script.js"
          data-website-id="731dfc2e-b1c0-4696-a7b3-efd27b19dfdf"
        ></script>
      </head>
      <body className={inter.className}>
        <div vaul-drawer-wrapper="" className="min-w-screen overflow-x-hidden">
          {children}
        </div>
      </body>
    </html>
  );
}