-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathlayout.tsx
More file actions
80 lines (74 loc) · 2.48 KB
/
layout.tsx
File metadata and controls
80 lines (74 loc) · 2.48 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { ReactElement, ReactNode } from "react"
import { Metadata } from "next"
import { NewFontsStyleTag } from "../../fonts"
import "@/app/colors.css"
import "./conf.css"
import { Navbar } from "./components/navbar"
import { Footer } from "./components/footer"
import { GraphQLConfLogoLink } from "./components/graphql-conf-logo-link"
import { GALLERY_LINK } from "./links"
export const metadata = {
description:
"Join the official GraphQL Conference by the GraphQL Foundation in Amsterdam, Netherlands, from September 8-10, 2025. Discover the future of GraphQL with leading experts, workshops, and networking opportunities.",
openGraph: {
images: [
{
url: "/img/og-graphql-conf-2025.jpeg",
alt: "GraphQLConf 2025 hosted by the GraphQL Foundation. September 08-10, 2025. Amsterdam, Netherlands",
},
],
},
title: {
absolute: "",
template: "%s | GraphQLConf 2025",
},
keywords: ["GraphQL", "GraphQLConf", "GraphQLConf 2025"],
} satisfies Metadata
export default function Layout({
children,
}: {
children: ReactNode
}): ReactElement {
return (
<>
<NewFontsStyleTag />
<Navbar
year={2025}
links={[
{ children: "Schedule", href: "/conf/2025/schedule" },
{ children: "Speakers", href: "/conf/2025/speakers" },
{ children: "Sponsors", href: "/conf/2025/#sponsors" },
{ children: "Resources", href: "/conf/2025/resources" },
{
children: "Event Photos",
href: GALLERY_LINK,
},
{ children: "FAQ", href: "/conf/2025/#faq" },
]}
/>
<div className="bg-neu-0 text-neu-900 antialiased">{children}</div>
<Footer
logo={<GraphQLConfLogoLink year={2025} />}
links={[
{ children: "Sponsor", href: "/conf/2025/#sponsors" },
{ children: "Speakers", href: "/#speakers" },
{ children: "GraphQLConf 2024", href: "/conf/2024" },
{ children: "FAQ", href: "#faq" },
{ children: "Contact Us", href: "/conf/2025/resources/#contact" },
{ children: "GraphQL", href: "/" },
{ children: "GraphQL Foundation", href: "/foundation" },
[
{
children: "Code of Conduct",
href: "/conf/2025/code-of-conduct",
},
{
children: "Inclusion & Accessibility",
href: "/conf/2025/resources/#inclusion--accessibility",
},
],
]}
/>
</>
)
}