Skip to content

Commit 089ed9b

Browse files
authored
Add "submit a talk" to the top of the page (#2369)
I figured it'd be easier to find it. Ping @hasparus <img width="881" height="467" alt="Screenshot 2026-03-30 at 18 04 54" src="https://github.com/user-attachments/assets/5852ac41-f034-435d-81e0-0a5217ad0786" />
1 parent 9c815cc commit 089ed9b

File tree

5 files changed

+29
-7
lines changed

5 files changed

+29
-7
lines changed

src/app/day/2026/components/become-a-speaker.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ import { Button } from "@/app/conf/_design-system/button"
22

33
const CFP_LINK = "https://forms.gle/M1kiuvwK2wLJyNzi9"
44

5+
export function CfpButton({ className }: { className?: string }) {
6+
return (
7+
<Button href={CFP_LINK} className={className}>
8+
Submit a talk
9+
</Button>
10+
)
11+
}
12+
513
export function BecomeASpeakerSection({
614
cfpDeadline,
715
}: {
@@ -28,9 +36,7 @@ export function BecomeASpeakerSection({
2836
{cfpDeadline && (
2937
<p className="typography-body-lg">The CFP closes on {cfpDeadline}.</p>
3038
)}
31-
<Button href={CFP_LINK} className="whitespace-nowrap md:w-fit">
32-
Submit a talk
33-
</Button>
39+
<CfpButton className="whitespace-nowrap md:w-fit" />
3440
</div>
3541
</section>
3642
)

src/app/day/2026/melbourne/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { Button } from "@/app/conf/_design-system/button"
44
import { Hero, HeroDateAndLocation } from "../components/hero"
55
import { AboutSection } from "../components/about-section"
66
import { WhyAttendSection } from "../components/why-attend-section"
7-
import { BecomeASpeakerSection } from "../components/become-a-speaker"
7+
import {
8+
BecomeASpeakerSection,
9+
CfpButton,
10+
} from "../components/become-a-speaker"
811
import { EventPartnersSection } from "../components/event-partners"
912
import { CtaCardSection } from "../components/cta-card-section"
1013
import { MarqueeRows } from "@/app/conf/2026/components/marquee-rows"
@@ -43,6 +46,7 @@ export default function MelbournePage() {
4346
<Button disabled className="whitespace-nowrap opacity-55 md:w-fit">
4447
Tickets coming soon
4548
</Button>
49+
<CfpButton className="whitespace-nowrap md:w-fit" />
4650
</div>
4751
</Hero>
4852
<AboutSection />

src/app/day/2026/nyc/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { Button } from "@/app/conf/_design-system/button"
44
import { Hero, HeroDateAndLocation } from "../components/hero"
55
import { AboutSection } from "../components/about-section"
66
import { WhyAttendSection } from "../components/why-attend-section"
7-
import { BecomeASpeakerSection } from "../components/become-a-speaker"
7+
import {
8+
BecomeASpeakerSection,
9+
CfpButton,
10+
} from "../components/become-a-speaker"
811
import { EventPartnersSection } from "../components/event-partners"
912
import { CtaCardSection } from "../components/cta-card-section"
1013
import { MarqueeRows } from "@/app/conf/2026/components/marquee-rows"
@@ -43,6 +46,7 @@ export default function NYCPage() {
4346
<Button disabled className="whitespace-nowrap opacity-55 md:w-fit">
4447
Tickets coming soon
4548
</Button>
49+
<CfpButton className="whitespace-nowrap md:w-fit" />
4650
</div>
4751
</Hero>
4852
<AboutSection />

src/app/day/2026/paris/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { Button } from "@/app/conf/_design-system/button"
44
import { Hero, HeroDateAndLocation } from "../components/hero"
55
import { AboutSection } from "../components/about-section"
66
import { WhyAttendSection } from "../components/why-attend-section"
7-
import { BecomeASpeakerSection } from "../components/become-a-speaker"
7+
import {
8+
BecomeASpeakerSection,
9+
CfpButton,
10+
} from "../components/become-a-speaker"
811
import { EventPartnersSection } from "../components/event-partners"
912
import { CtaCardSection } from "../components/cta-card-section"
1013
import { MarqueeRows } from "@/app/conf/2026/components/marquee-rows"
@@ -43,6 +46,7 @@ export default function ParisPage() {
4346
<Button disabled className="whitespace-nowrap opacity-55 md:w-fit">
4447
Tickets coming soon
4548
</Button>
49+
<CfpButton className="whitespace-nowrap md:w-fit" />
4650
</div>
4751
</Hero>
4852
<AboutSection />

src/app/day/2026/singapore/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { Button } from "@/app/conf/_design-system/button"
44
import { Hero, HeroDateAndLocation } from "../components/hero"
55
import { AboutSection } from "../components/about-section"
66
import { WhyAttendSection } from "../components/why-attend-section"
7-
import { BecomeASpeakerSection } from "../components/become-a-speaker"
7+
import {
8+
BecomeASpeakerSection,
9+
CfpButton,
10+
} from "../components/become-a-speaker"
811
import { EventPartnersSection } from "../components/event-partners"
912
import { CtaCardSection } from "../components/cta-card-section"
1013
import { MarqueeRows } from "@/app/conf/2026/components/marquee-rows"
@@ -46,6 +49,7 @@ export default function SingaporePage() {
4649
<Button href={TICKET_LINK} className="whitespace-nowrap md:w-fit">
4750
Get your ticket
4851
</Button>
52+
<CfpButton className="whitespace-nowrap md:w-fit" />
4953
</div>
5054
</Hero>
5155
<AboutSection />

0 commit comments

Comments
 (0)