forked from graphql/graphql.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
67 lines (62 loc) · 2.11 KB
/
layout.tsx
File metadata and controls
67 lines (62 loc) · 2.11 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
import { ReactElement, ReactNode } from "react"
import { Metadata } from "next"
import { NewFontsStyleTag } from "../fonts"
import "../colors.css"
import { Navbar } from "./2026/components/navbar"
import { Footer } from "./2026/components/footer"
import { ThemeProvider } from "next-themes"
import { GraphQLDayLogoLink } from "./2026/components/graphql-day-logo-link"
export const metadata = {
title: {
absolute: "GraphQL Day",
template: "%s | GraphQL Day",
},
} satisfies Metadata
export default function DayLayout({
children,
}: {
children: ReactNode
}): ReactElement {
return (
<>
<NewFontsStyleTag />
<Navbar
links={[
{ children: "All GraphQL Events", href: "/community/events/" },
{ children: "GraphQLConf", href: "/conf/2026" },
{
children: "GraphQL Day Singapore",
href: "/day/2026/singapore",
},
]}
/>
<ThemeProvider attribute="class">
<div className="gql-all-anchors-focusable bg-neu-0 text-neu-900 antialiased">
{children}
</div>
</ThemeProvider>
<Footer
logo={<GraphQLDayLogoLink />}
links={[
{ children: "FOST", href: "https://www.joinfost.io" },
{ children: "GraphQL", href: "/" },
{ children: "GraphQLConf 2026", href: "/conf/2026" },
{
children: "Singapore Tickets",
href: "https://portal.joinfost.io/event/future-of-software-technologies-singapore-2026/9521470b-6661-4c85-8594-b74d9d7cf2e3/graphql-day-at-fost-singapore",
},
{
children: "Code of Conduct",
href: "https://www.apidays.global/legal/code-of-conduct#:~:text=Individuals%20who%20participate%20(or%20plan,during%20or%20after%20the%20event.",
},
{
children: "FOST Manifesto",
href: "https://www.futureofsoftwaretechnologies.com/manifesto",
},
{ children: "All GraphQL Events", href: "/community/events/" },
{ children: "GraphQL Day Paris 2025", href: "https://graphql.day/2025" },
]}
/>
</>
)
}