-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathbecome-a-speaker.tsx
More file actions
51 lines (48 loc) · 1.48 KB
/
become-a-speaker.tsx
File metadata and controls
51 lines (48 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { Button } from "@/app/conf/_design-system/button"
const CFP_LINK = "https://forms.gle/M1kiuvwK2wLJyNzi9"
export function CfpButton({
className,
cfpLink,
}: {
className?: string
cfpLink?: string
}) {
return (
<Button href={cfpLink || CFP_LINK} className={className}>
Submit a talk
</Button>
)
}
export function BecomeASpeakerSection({
cfpDeadline,
cfpLink,
}: {
cfpDeadline?: string
cfpLink?: string
}) {
return (
<section className="gql-section xl:py-12">
<h3 className="typography-h2 mb-8">Become a speaker</h3>
<div className="flex max-w-2xl flex-col gap-6">
<p className="typography-body-lg">
Any GraphQL topic is welcome: feedback from the trenches,
introductions, technical deep-dives, workshops, lightning talks and
more!
</p>
<p className="typography-body-lg">
The FOST audience includes non-GraphQL experts from other communities
(AsyncAPI, OpenAPI, JSON Schema, ...) as well as CTOs and business
decision-makers. Submissions that address this diverse audience are
especially appreciated.
</p>
<p className="typography-body-lg">
All speakers will get a free conference ticket.
</p>
{cfpDeadline && (
<p className="typography-body-lg">The CFP closes on {cfpDeadline}.</p>
)}
<CfpButton cfpLink={cfpLink} className="whitespace-nowrap md:w-fit" />
</div>
</section>
)
}