Skip to content

conf: schedule page updates #1488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ export const createPages: GatsbyNode["createPages"] = async ({
actions,
graphql,
}) => {
const { createPage } = actions
const { createPage, createRedirect } = actions

createRedirect({
fromPath: "/conf/program",
toPath: "/conf/schedule",
})

const result = await graphql(`
query allMarkdownRemark {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Conf/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface LinkItem {

const links: LinkItem[] = [
{ text: "Attend", href: "/conf/#attend" },
{ text: "Program", href: "/conf/program/" },
{ text: "Schedule", href: "/conf/schedule/" },
{ text: "Sponsor", href: "/conf/sponsor/" },
{ text: "Partner", href: "/conf/partner/" },
{ text: "FAQ", href: "/conf/faq/" },
Expand Down
17 changes: 4 additions & 13 deletions src/components/Conf/Speakers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ const speakers: Speaker[] = [
]

const SpeakersConf = () => {
const today = new Date()
const expiredDate = new Date("2023-06-10")
const isExpired = expiredDate > today

return (
// Invisible padding so anchor links align to the header menu
<div id="speakers" className="-mt-16 pt-16">
Expand Down Expand Up @@ -87,21 +83,16 @@ const SpeakersConf = () => {
</div>
))}
</div>
<div className="flex justify-center items-center flex-wrap py-6">
<ButtonConf href="/conf/schedule/">See all speakers</ButtonConf>
</div>
<div className="flex flex-col text-center mx-auto max-w-prose text-white px-4">
<p>
GraphQLConf brings together the creators of some of the most
important technologies behind GraphQL. These speakers will share
their experience, insights and knowledge as they discuss the
challenges facing the growing GraphQL ecosystem. If you have
something worth sharing, submit an application to speak!
challenges facing the growing GraphQL ecosystem.
</p>
{isExpired && (
<div className="my-8">
<ButtonConf className="mx-auto" href="/conf/speak/">
Submit to Speak
</ButtonConf>
</div>
)}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/2023-07-06-youtube-updated.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ byline: Jory Burson
permalink: /blog/2023-07-06-youtube-updated
---

Have you been missing out on recent GraphQL Working Group meetings? Want to catch up on the latest conversations about Incremental Delivery, GraphQL over HTTP, and Input Unions?
Thanks to [Benjie Gillam](https://github.com/benjie), now you can!
Have you been missing out on recent GraphQL Working Group meetings? Want to catch up on the latest conversations about Incremental Delivery, GraphQL over HTTP, and Input Unions?
Thanks to [Benjie Gillam](https://github.com/benjie), now you can!

Benjie has done the onerous job of updating the GraphQL Foundation’s YouTube playlists with all the latest recordings of GraphQL Working Group meetings, which are now available for you to view here: [https://www.youtube.com/@GraphQLFoundation/playlists](https://www.youtube.com/@GraphQLFoundation/playlists)

Expand Down
4 changes: 3 additions & 1 deletion src/pages/conf/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export default () => {
<div className="flex justify-start gap-4 flex-row flex-wrap">
<ButtonConf href="/conf/sponsor/">Join as a Sponsor</ButtonConf>
<ButtonConf href="/conf/partner/">Join as a Partner</ButtonConf>
<ButtonConf href="/conf/program/">View the Schedule</ButtonConf>
<ButtonConf href="/conf/schedule/">
View the Schedule
</ButtonConf>
</div>
</div>
</div>
Expand Down
28 changes: 15 additions & 13 deletions src/pages/conf/program.tsx → src/pages/conf/schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react"
import FooterConf from "../../components/Conf/Footer"
import HeaderConf from "../../components/Conf/Header"
import LayoutConf from "../../components/Conf/Layout"
import { ReactComponent as TheGuild } from "../../../static/img/conf/Sponsors/TheGuild.svg"
import SeoConf from "../../components/Conf/Seo"
import { Script } from "gatsby"

Expand All @@ -13,25 +12,28 @@ export default () => {

<div className="bg-white">
<div className="prose lg:prose-lg mx-auto py-10 max-sm:px-4 override-prose-w-with-85ch">
<h1>GraphQLConf 2023 Program</h1>
<h1>GraphQLConf 2023 Schedule</h1>
<section className="px-0 my-8">
<h4>September 19-21, 2023 I San Francisco Bay Area, CA</h4>
<p>
We are excited to announce our speakers for GraphQLConf 2023.
Please check back for more details about the program.
Please note: All session times are in Pacific Daylight Time (UTC
-7). To view the schedule in your <b>preferred&nbsp;timezone</b>,
please select from the drop-down menu to the right, above “Filter
by Date.”
</p>
<p>
<b>IMPORTANT NOTE:</b> Timing of sessions and room locations are{" "}
<b>subject to change</b>.
</p>
<div className="[&>div]:-ml-[15px]">
<a
id="sched-embed"
href="//graphqlconf23.sched.com/directory/speakers"
>
<a id="sched-embed" href="//graphqlconf23.sched.com/">
View the graphqlconf23 schedule &amp; directory.
</a>
<Script
type="text/javascript"
src="//graphqlconf23.sched.com/js/embed.js"
></Script>
</div>
<Script
type="text/javascript"
src="//graphqlconf23.sched.com/js/embed.js"
></Script>
{/*
<h2>Workshop Day</h2>
<p>
Expand All @@ -57,5 +59,5 @@ export default () => {
}

export function Head() {
return <SeoConf title="GraphQLConf 2023 Program" />
return <SeoConf title="GraphQLConf 2023 Schedule" />
}