@@ -4,10 +4,9 @@ import { schedule } from "../_data"
44import { ScheduleList } from "./_components/schedule-list"
55import { filterCategories2024 } from "./_components/filter-categories"
66import { eventsColors } from "../utils"
7- import { HeroStripes } from "../components/hero"
87import { Button } from "../../_design-system/button"
98import { GET_TICKETS_LINK } from "../links"
10- import graphqlFoundationWordmarkSvg from "../assets/graphql-foundation-wordmark.svg "
9+ import { Hero } from "../components/hero "
1110
1211const year = "2025"
1312
@@ -18,27 +17,15 @@ export const metadata: Metadata = {
1817export default function SchedulePage ( ) {
1918 return (
2019 < main className = "gql-all-anchors-focusable bg-neu-50 dark:bg-neu-0" >
21- < ScheduleHero year = { year } />
20+ < Hero pageName = "Schedule" year = { year } >
21+ < div className = "mt-[18px] flex gap-4" >
22+ < Button href = { GET_TICKETS_LINK } > Get your tickets</ Button >
23+ < Button variant = "tertiary" href = { `/conf/${ year } /speakers` } >
24+ See the speakers
25+ </ Button >
26+ </ div >
27+ </ Hero >
2228 < div className = "gql-conf-container gql-conf-section" >
23- < a
24- href = "https://graphqlconf2024.sched.com"
25- target = "_blank"
26- rel = "noreferrer"
27- className = "mb-8 block w-fit decoration-neu-400 typography-link"
28- >
29- Bookmark sessions & plan your days on Sched
30- < svg
31- fill = "none"
32- xmlns = "http://www.w3.org/2000/svg"
33- viewBox = "0 0 24 24"
34- className = "m-1 mb-2 inline-block size-4"
35- >
36- < path
37- d = "M21 11V3h-8v2h4v2h-2v2h-2v2h-2v2H9v2h2v-2h2v-2h2V9h2V7h2v4h2zM11 5H3v16h16v-8h-2v6H5V7h6V5z"
38- fill = "currentColor"
39- />
40- </ svg >
41- </ a >
4229 < ScheduleList
4330 filterCategories = { filterCategories2024 }
4431 eventsColors = { eventsColors }
@@ -49,37 +36,3 @@ export default function SchedulePage() {
4936 </ main >
5037 )
5138}
52-
53- function ScheduleHero ( { year } : { year : "2025" } ) {
54- return (
55- < article className = "gql-conf-navbar-strip relative isolate flex flex-col justify-center bg-pri-base text-neu-0 selection:bg-blk/40 before:bg-white/30 dark:bg-pri-darker dark:text-neu-900 dark:selection:bg-white/40 before:dark:bg-blk/40" >
56- < HeroStripes />
57- < div className = "gql-conf-container mx-auto flex max-w-full flex-col gap-12 overflow-hidden p-4 pt-6 sm:p-8 sm:pt-12 md:gap-12 md:bg-left md:p-12 lg:px-24 lg:pb-16 lg:pt-24" >
58- < div className = "flex gap-10 max-md:flex-col md:justify-between" >
59- < div >
60- < span className = "text-sec-base typography-h3" >
61- GraphQLConf { year }
62- </ span >
63- < h1 className = "typography-d1" > Schedule</ h1 >
64- </ div >
65- < div className = "flex h-min items-center gap-4" >
66- < span className = "whitespace-pre typography-body-sm" > hosted by</ span >
67- < img
68- src = { graphqlFoundationWordmarkSvg . src }
69- alt = "GraphQL Foundation"
70- width = { 128 }
71- height = { 34.877 }
72- />
73- </ div >
74- </ div >
75-
76- < div className = "flex flex-row gap-4 pt-[18px]" >
77- < Button href = { GET_TICKETS_LINK } > Get your tickets</ Button >
78- < Button variant = "secondary" href = { `/conf/${ year } /speakers` } >
79- See the speakers
80- </ Button >
81- </ div >
82- </ div >
83- </ article >
84- )
85- }
0 commit comments