Skip to content

Commit b26ff72

Browse files
authored
feat: add conf 2025 gallery (#2143)
1 parent 83550a9 commit b26ff72

File tree

9 files changed

+56
-22
lines changed

9 files changed

+56
-22
lines changed

src/app/conf/2025/components/register-today/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ export function RegisterToday({ className }: RegisterTodayProps) {
3737
</p>
3838
</div>
3939
<div className="mt-10 flex gap-x-6 gap-y-4 max-sm:flex-col">
40-
<Button href={GET_TICKETS_LINK}>Register today</Button>
40+
<Button disabled className="opacity-55" href={GET_TICKETS_LINK}>
41+
Registeration closed
42+
</Button>
4143
<Button
4244
disabled
4345
className="opacity-55"

src/app/conf/2025/components/top-minds/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,7 @@ export default function TopMindsSection({
110110
<Button variant="secondary" href="/conf/2025/speakers/">
111111
View all speakers
112112
</Button>
113-
) : (
114-
<Button variant="secondary" href={GET_TICKETS_LINK}>
115-
Get tickets
116-
</Button>
117-
)}
113+
) : null}
118114
</div>
119115
</div>
120116
</div>

src/app/conf/2025/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { Footer } from "./components/footer"
1010
// @ts-expect-error: we want to import the same version as Nextra for the main page
1111
import { ThemeProvider } from "next-themes"
1212
import { GraphQLConfLogoLink } from "./components/graphql-conf-logo-link"
13+
import { GALLERY_LINK } from "./links"
1314

1415
export const metadata = {
1516
description:
@@ -43,8 +44,11 @@ export default function Layout({
4344
{ children: "Schedule", href: "/conf/2025/schedule" },
4445
{ children: "Speakers", href: "/conf/2025/speakers" },
4546
{ children: "Sponsors", href: "/conf/2025/#sponsors" },
46-
{ children: "Recap", href: "/conf/2024" },
4747
{ children: "Resources", href: "/conf/2025/resources" },
48+
{
49+
children: "Gallery",
50+
href: GALLERY_LINK,
51+
},
4852
{ children: "FAQ", href: "/conf/2025/#faq" },
4953
]}
5054
/>

src/app/conf/2025/links.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ export const GET_TICKETS_LINK =
33

44
export const BECOME_A_SPEAKER_LINK =
55
"https://sessionize.com/graphqlconf-2025?utm_medium=website&utm_campaign=speaker_section"
6+
7+
export const GALLERY_LINK =
8+
"https://www.flickr.com/photos/linuxfoundation/sets/72177720328905487/"

src/app/conf/2025/page.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { GraphQLFoundationCard } from "./components/graphql-foundation-card"
1414
import { MarqueeRows } from "./components/marquee-rows"
1515
import { CtaCardSection } from "./components/cta-card-section"
1616
import { Button } from "../_design-system/button"
17-
import { GET_TICKETS_LINK } from "./links"
17+
import { GALLERY_LINK, GET_TICKETS_LINK } from "./links"
1818
import { GalleryStrip } from "./components/gallery-strip"
1919
import { Testimonials } from "./components/testimonials"
2020
import { HeroImage } from "./components/hero/hero-image"
@@ -29,8 +29,8 @@ export default function Page() {
2929
<main className="gql-all-anchors-focusable">
3030
<Hero year="2025" bottom={<HeroImage />}>
3131
<HeroDateAndLocation />
32-
<Button className="md:w-fit" href={GET_TICKETS_LINK}>
33-
Get your tickets
32+
<Button className="md:w-fit" href={GALLERY_LINK}>
33+
View Gallery
3434
</Button>
3535
</Hero>
3636
<div className="gql-container gql-conf-navbar-strip text-neu-900 before:bg-white/40 before:dark:bg-blk/30">
@@ -87,8 +87,13 @@ export default function Page() {
8787
title="Get your ticket"
8888
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
8989
>
90-
<Button variant="primary" href={GET_TICKETS_LINK}>
91-
Get tickets
90+
<Button
91+
disabled
92+
className="opacity-55"
93+
variant="primary"
94+
href={GET_TICKETS_LINK}
95+
>
96+
Sold out
9297
</Button>
9398
</CtaCardSection>
9499
<MarqueeRows

src/app/conf/2025/schedule/[id]/page.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,13 @@ export default function SessionPage({ params }: SessionProps) {
166166
title="Get your ticket"
167167
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
168168
>
169-
<Button variant="primary" href={GET_TICKETS_LINK}>
170-
Get tickets
169+
<Button
170+
disabled
171+
className="opacity-55"
172+
variant="primary"
173+
href={GET_TICKETS_LINK}
174+
>
175+
Sold out
171176
</Button>
172177
</CtaCardSection>
173178
<div className="py-8">

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export default function SchedulePage() {
2727
<main className="gql-all-anchors-focusable bg-neu-50 dark:bg-neu-0">
2828
<Hero pageName="Schedule" year={year}>
2929
<div className="mt-[18px] flex gap-4">
30-
<Button href={GET_TICKETS_LINK}>Get your tickets</Button>
30+
<Button disabled className="opacity-55" href={GET_TICKETS_LINK}>
31+
Sold out
32+
</Button>
3133
<Button variant="tertiary" href={`/conf/${year}/speakers`}>
3234
See the speakers
3335
</Button>
@@ -49,8 +51,13 @@ export default function SchedulePage() {
4951
title="Get your ticket"
5052
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
5153
>
52-
<Button variant="primary" href={GET_TICKETS_LINK}>
53-
Get tickets
54+
<Button
55+
disabled
56+
className="opacity-55"
57+
variant="primary"
58+
href={GET_TICKETS_LINK}
59+
>
60+
Sold out
5461
</Button>
5562
</CtaCardSection>
5663
<div className="py-8">

src/app/conf/2025/speakers/[id]/page.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,13 @@ export default function SpeakerPage({ params }: SpeakerProps) {
121121
title="Get your ticket"
122122
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
123123
>
124-
<Button variant="primary" href={GET_TICKETS_LINK}>
125-
Get tickets
124+
<Button
125+
disabled
126+
className="opacity-55"
127+
variant="primary"
128+
href={GET_TICKETS_LINK}
129+
>
130+
Sold out
126131
</Button>
127132
</CtaCardSection>
128133
<div className="py-8">

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export default function Page() {
2020
<main className="gql-all-anchors-focusable bg-neu-50 dark:bg-neu-0">
2121
<Hero pageName="Speakers" year={year}>
2222
<div className="mt-[18px] flex gap-4">
23-
<Button href={GET_TICKETS_LINK}>Get your tickets</Button>
23+
<Button disabled className="opacity-55" href={GET_TICKETS_LINK}>
24+
Sold out
25+
</Button>
2426
<Button variant="tertiary" href={`/conf/${year}/schedule`}>
2527
See the schedule
2628
</Button>
@@ -45,8 +47,13 @@ export default function Page() {
4547
title="Get your ticket"
4648
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
4749
>
48-
<Button variant="primary" href={GET_TICKETS_LINK}>
49-
Get tickets
50+
<Button
51+
disabled
52+
className="opacity-55"
53+
variant="primary"
54+
href={GET_TICKETS_LINK}
55+
>
56+
Sold out
5057
</Button>
5158
</CtaCardSection>
5259
<div className="py-8">

0 commit comments

Comments
 (0)