Skip to content

Commit 865cf80

Browse files
committed
Add a footer to speakers page
1 parent d4ec48d commit 865cf80

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

src/app/conf/2025/components/speaker-card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ export function SpeakerCard({
2323
className,
2424
speaker,
2525
year,
26-
showSocials = true,
26+
showSocials = false,
2727
...props
2828
}: SpeakerCardProps) {
2929
return (
3030
<article
3131
className={clsx(
32-
"group relative flex flex-col overflow-hidden border border-neu-200 bg-neu-0 [container-type:inline-size] dark:border-neu-100",
32+
"group relative overflow-hidden border border-neu-200 bg-neu-0 @container dark:border-neu-100",
3333
className,
3434
)}
3535
{...props}
3636
>
37-
<div className="flex gap-6 p-6">
37+
<div className="flex h-full flex-col gap-4 p-4 @[420px]:flex-row md:gap-6 md:p-6">
3838
{showSocials && (
3939
<SpeakerLinks speaker={speaker} className="absolute right-6 top-6" />
4040
)}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ export default function SessionPage({ params }: SessionProps) {
6969
return (
7070
<>
7171
<NavbarPlaceholder className="top-0 bg-neu-50 before:bg-white/40 dark:bg-neu-0 dark:before:bg-blk/30" />
72-
7372
<main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-white/40 before:dark:bg-blk/30">
7473
<div className="bg-neu-50 dark:bg-neu-0">
7574
<div className="gql-conf-container">

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

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { Metadata } from "next"
22
import { speakers } from "../_data"
3-
import { Speaker } from "@/app/conf/_components/speakers/speaker"
43
import { Hero } from "../components/hero"
54
import { Button } from "../../_design-system/button"
65
import { GET_TICKETS_LINK } from "../links"
6+
import { SpeakerCard } from "../components/speaker-card"
7+
import { CtaCardSection } from "../components/cta-card-section"
8+
import { HERO_MARQUEE_ITEMS } from "../utils"
9+
import { MarqueeRows } from "../components/marquee-rows"
10+
import { FAQ } from "../faq"
711

812
export const metadata: Metadata = {
913
title: "Speakers",
@@ -23,12 +27,32 @@ export default function Page() {
2327
</div>
2428
</Hero>
2529

26-
<div className="bg-white">
27-
<section className="conf-block container flex flex-wrap justify-center gap-8 lg:justify-between">
30+
{/* <NavbarPlaceholder className="top-0 bg-neu-50 before:bg-white/40 dark:bg-neu-0 dark:before:bg-blk/30" /> */}
31+
{/* <main className="gql-all-anchors-focusable gql-conf-navbar-strip text-neu-900 before:bg-white/40 before:dark:bg-blk/30"> */}
32+
<div className="gql-conf-container gql-conf-section">
33+
<div className="grid lg:grid-cols-2 lg:gap-5 max-lg:[&>:not(:first-child)]:border-t-0">
2834
{speakers.map(speaker => (
29-
<Speaker key={speaker.username} {...speaker} year="2024" />
35+
<SpeakerCard key={speaker.username} speaker={speaker} year="2025" />
3036
))}
31-
</section>
37+
</div>
38+
</div>
39+
40+
<div className="gql-conf-navbar-strip border-t border-neu-200 bg-neu-0 py-8 text-neu-900 before:bg-white/40 dark:border-neu-100 before:dark:bg-blk/30 xl:py-16">
41+
<div className="gql-conf-container">
42+
<FAQ />
43+
44+
<CtaCardSection
45+
title="Get your ticket"
46+
description="Join three transformative days of expert insights and innovation to shape the next decade of APIs!"
47+
>
48+
<Button variant="primary" href={GET_TICKETS_LINK}>
49+
Get tickets
50+
</Button>
51+
</CtaCardSection>
52+
<div className="py-8">
53+
<MarqueeRows variant="secondary" items={HERO_MARQUEE_ITEMS} />
54+
</div>
55+
</div>
3256
</div>
3357
</main>
3458
)

0 commit comments

Comments
 (0)