Skip to content

Commit 1dfc3a2

Browse files
authored
Add Program page and remove references to the speak page (#1481)
1 parent a1fa839 commit 1dfc3a2

File tree

4 files changed

+67
-14
lines changed

4 files changed

+67
-14
lines changed

src/components/Conf/Footer/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const links = [
1212
{ text: "Location", href: "/conf/#location" },
1313
],
1414
[
15-
{ text: "Speak", href: "/conf/speak/" },
1615
{ text: "Sponsor", href: "/conf/sponsor/" },
1716
{ text: "FAQ", href: "/conf/faq/" },
1817
{ text: "Contact Us", href: "/conf/faq/#contact" },
@@ -25,11 +24,11 @@ const links = [
2524
],
2625
]
2726

28-
const FooterConf = () => {
27+
const FooterConf = ({ includeSponors = true, includePartners = true }) => {
2928
return (
3029
<>
31-
<SponsorsConf />
32-
<PartnersConf />
30+
{includeSponors && <SponsorsConf />}
31+
{includePartners && <PartnersConf />}
3332
<footer className="text-gray-600 bg-[#171E26]">
3433
<div className="container px-5 md:py-24 mx-auto flex md:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">
3534
<div className="w-64 shrink-0 md:mx-0 text-left">

src/components/Conf/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface LinkItem {
99

1010
const links: LinkItem[] = [
1111
{ text: "Attend", href: "/conf/#attend" },
12-
{ text: "Speak", href: "/conf/speak/" },
12+
{ text: "Program", href: "/conf/program/" },
1313
{ text: "Sponsor", href: "/conf/sponsor/" },
1414
{ text: "Partner", href: "/conf/partner/" },
1515
{ text: "FAQ", href: "/conf/faq/" },

src/pages/conf/index.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@ import SeoConf, { defaults as seoDefaults } from "../../components/Conf/Seo"
1313
import { CalendarIcon, GlobeIcon } from "@radix-ui/react-icons"
1414

1515
export default () => {
16-
const today = new Date()
17-
const expiredDate = new Date("2023-06-10")
18-
const isExpired = expiredDate > today
19-
2016
return (
2117
<LayoutConf>
2218
<HeaderConf />
2319
<div className="text-gray-600 bg-color-[#562556] bg-[url('/img/conf/graphql-conf-bg.png')] bg-cover bg-blend-multiply bg-opacity-20 bg-black">
2420
<div className="container flex py-16 md:py-36 items-center justify-center flex-col">
25-
<div className="flex flex-col justify-center items-center w-full gap-2 lg:gap-32 lg:flex-row">
21+
<div className="flex flex-col justify-center w-full gap-2 lg:gap-32 lg:flex-row">
2622
<div>
2723
<img
2824
src="/img/conf/graphql-conf-logo.svg"
@@ -40,12 +36,10 @@ export default () => {
4036
<span>San Francisco Bay Area, CA</span>
4137
</div>
4238
</div>
43-
<div className="flex justify-left gap-4 flex-row flex-wrap">
39+
<div className="flex justify-start gap-4 flex-row flex-wrap">
4440
<ButtonConf href="/conf/sponsor/">Join as a Sponsor</ButtonConf>
4541
<ButtonConf href="/conf/partner/">Join as a Partner</ButtonConf>
46-
{isExpired && (
47-
<ButtonConf href="/conf/speak/">Submit to Speak</ButtonConf>
48-
)}
42+
<ButtonConf href="/conf/program/">View the Schedule</ButtonConf>
4943
</div>
5044
</div>
5145
</div>

src/pages/conf/program.tsx

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import React from "react"
2+
import FooterConf from "../../components/Conf/Footer"
3+
import HeaderConf from "../../components/Conf/Header"
4+
import LayoutConf from "../../components/Conf/Layout"
5+
import { ReactComponent as TheGuild } from "../../../static/img/conf/Sponsors/TheGuild.svg"
6+
import SeoConf from "../../components/Conf/Seo"
7+
import { Script } from "gatsby"
8+
9+
export default () => {
10+
return (
11+
<LayoutConf>
12+
<HeaderConf />
13+
<div className="bg-white">
14+
<div className="prose lg:prose-lg mx-auto py-10 max-sm:px-4">
15+
<h1>GraphQLConf 2023 Program</h1>
16+
<section className="px-0 my-8">
17+
<h4>September 19-21, 2023 I San Francisco Bay Area, CA</h4>
18+
<p>
19+
We are excited to announce our speakers for GraphQLConf 2023.
20+
Please check back for more details about the program.
21+
</p>
22+
<div className="[&>div]:-ml-[15px]">
23+
<a
24+
id="sched-embed"
25+
href="//graphqlconf23.sched.com/directory/speakers"
26+
>
27+
View the graphqlconf23 schedule &amp; directory.
28+
</a>
29+
</div>
30+
<Script
31+
type="text/javascript"
32+
src="//graphqlconf23.sched.com/js/embed.js"
33+
></Script>
34+
35+
<h2>Workshop Day</h2>
36+
<p>
37+
Join us for a GraphQLConf Workshop Day on September 19. Workshops
38+
are included in GraphQLConf registration though pre-registration
39+
is required -{" "}
40+
<a href="https://cvent.me/4zbxz9" target="_blank">
41+
register now
42+
</a>
43+
, or modify your registration and join us! Workshop space is
44+
available on a first come, first served basis.
45+
</p>
46+
<p>Thank you to our Workshop Day sponsor, The Guild.</p>
47+
<div className="w-48">
48+
<TheGuild />
49+
</div>
50+
</section>
51+
</div>
52+
</div>
53+
<FooterConf includePartners={false} includeSponors={false} />
54+
</LayoutConf>
55+
)
56+
}
57+
58+
export function Head() {
59+
return <SeoConf title="GraphQLConf 2023 Program" />
60+
}

0 commit comments

Comments
 (0)