-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.tsx
More file actions
64 lines (58 loc) · 1.71 KB
/
Copy pathlayout.tsx
File metadata and controls
64 lines (58 loc) · 1.71 KB
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
63
64
import "@/styles/globals.css";
import "@/styles/prosemirror.css";
import { inconsolata, inconsolataBold, inter, loraBold, loraItalic } from "@/styles/fonts";
import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";
import Providers from "./providers";
import { PostHogProvider } from "./providers";
const title = "Adamastor — All Things Startup in Portugal";
const description =
"Adamastor is a digital publication for all things startup in Portugal. A weekly digest on the Portuguese startup scene and an events calendar for founders, builders, and operators.";
export const metadata: Metadata = {
title,
description,
openGraph: {
title,
description,
images: [
{
url: "/socialPreview2.jpg",
width: 1200,
height: 630,
alt: "Adamastor — A digital publication for all things startup in Portugal",
},
],
},
twitter: {
title,
description,
card: "summary_large_image",
images: ["/socialPreview2.jpg"],
},
// Advertise the RSS feed so browsers (and feed-discovery tools, RSS
// readers' "find feed" features, etc.) can auto-detect it from any page.
alternates: {
types: {
"application/rss+xml": [{ url: "/feed.xml", title: "Adamastor Weekly" }],
},
},
metadataBase: new URL("https://adamastor.blog"),
};
export const viewport: Viewport = {
themeColor: "#ffffff",
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html
lang="en"
className={`${inter.variable} ${inconsolata.variable} ${inconsolataBold.variable} ${loraBold.variable} ${loraItalic.variable}`}
suppressHydrationWarning
>
<body>
<PostHogProvider>
<Providers>{children}</Providers>
</PostHogProvider>
</body>
</html>
);
}