-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathlayout.tsx
102 lines (99 loc) · 3.15 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import { ReactElement, ReactNode } from "react"
import { Metadata } from "next"
import { Header } from "../_components/header"
import { Footer } from "../_components/footer"
import { GraphQLConf, HostedByGraphQLFoundation } from "@/icons"
import NextLink from "next/link"
import { Rubik } from "next/font/google"
const rubik = Rubik({
weight: ["700", "600", "500", "400", "300"],
subsets: ["latin"],
})
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 (
<>
<Header
logo={
<NextLink
href="/conf/2025"
className="nextra-logo flex items-center gap-2 text-white"
>
<GraphQLConf className="h-6" />
<span className="select-none text-xl/none">2025</span>
</NextLink>
}
links={[
{ children: "Sponsor", href: "/conf/2025/#sponsors" },
{ children: "Speakers", href: "/conf/2025/#speakers" },
{ children: "Register", href: "/conf/2025/#register" },
{ children: "Recap", href: "/conf/2024" },
{ children: "Resources", href: "/conf/2025/resources" },
{ children: "FAQ", href: "/conf/2025/#faq" },
]}
is2025
/>
<div
style={{
fontFamily: rubik.style.fontFamily,
}}
>
{children}
</div>
<Footer
logo={
<NextLink href="/conf/2025" className="nextra-logo text-white">
<div className="flex items-center gap-2">
<GraphQLConf className="h-6" />
<span className="select-none text-xl/none">2025</span>
</div>
<HostedByGraphQLFoundation className="mt-2 h-5" />
</NextLink>
}
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/faq/#contact" },
],
[
{ children: "GraphQL", href: "/" },
{ children: "GraphQL Foundation", href: "/foundation" },
{
children: "Code of Conduct",
href: "/conf/2025/resources/#code-of-conduct",
},
{
children: "Diversity & Inclusion",
href: "/conf/2025/resources/#diversity--inclusion",
},
],
]}
/>
</>
)
}