Skip to content

Commit 8fc938f

Browse files
committed
Add [See the speakers] link
1 parent 98b12c3 commit 8fc938f

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/app/conf/2025/schedule/_components/schedule-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function ScheduleList({
178178
([sessionDate, sessions]) => (
179179
<div key={`concurrent sessions on ${sessionDate}`}>
180180
<div className="mb-px mr-px flex flex-col max-lg:ml-px lg:flex-row">
181-
<div className="relative border-neu-50 bg-neu-50 dark:bg-neu-0 max-lg:-mx-px max-lg:border-x lg:mr-px">
181+
<div className="relative border-neu-50 bg-neu-50 dark:bg-neu-0 max-lg:-mx-px max-lg:mt-px max-lg:border-x lg:mr-px">
182182
<span className="mt-3 inline-block w-20 whitespace-nowrap pb-0.5 pl-4 typography-body-sm lg:mr-6 lg:w-28 lg:pb-4 lg:pl-0">
183183
{format(parseISO(sessionDate), "hh:mmaaaa 'PDT'")}
184184
</span>

src/app/conf/2025/schedule/page.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ import { Button } from "../../_design-system/button"
99
import { GET_TICKETS_LINK } from "../links"
1010
import graphqlFoundationWordmarkSvg from "../assets/graphql-foundation-wordmark.svg"
1111

12+
const year = "2025"
13+
1214
export const metadata: Metadata = {
1315
title: "Schedule",
1416
}
1517

1618
export default function SchedulePage() {
1719
return (
1820
<main className="gql-all-anchors-focusable bg-neu-50 dark:bg-neu-0">
19-
<ScheduleHero />
21+
<ScheduleHero year={year} />
2022
<div className="gql-conf-container gql-conf-section">
2123
<a
2224
href="https://graphqlconf2024.sched.com"
@@ -29,23 +31,23 @@ export default function SchedulePage() {
2931
<ScheduleList
3032
filterCategories={filterCategories2024}
3133
eventsColors={eventsColors}
32-
year="2025"
34+
year={year}
3335
scheduleData={schedule}
3436
/>
3537
</div>
3638
</main>
3739
)
3840
}
3941

40-
function ScheduleHero() {
42+
function ScheduleHero({ year }: { year: "2025" }) {
4143
return (
4244
<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">
4345
<HeroStripes />
4446
<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">
4547
<div className="flex gap-10 max-md:flex-col md:justify-between">
4648
<div>
4749
<span className="text-sec-base typography-h3">
48-
GraphQLConf 2025
50+
GraphQLConf {year}
4951
</span>
5052
<h1 className="typography-d1">Schedule</h1>
5153
</div>
@@ -60,9 +62,10 @@ function ScheduleHero() {
6062
</div>
6163
</div>
6264

63-
<div className="flex flex-col gap-8 pt-[18px]">
64-
<Button className="md:w-fit" href={GET_TICKETS_LINK}>
65-
Get your tickets
65+
<div className="flex flex-row gap-4 pt-[18px]">
66+
<Button href={GET_TICKETS_LINK}>Get your tickets</Button>
67+
<Button variant="secondary" href={`/conf/${year}/speakers`}>
68+
See the speakers
6669
</Button>
6770
</div>
6871
</div>

0 commit comments

Comments
 (0)