From eb02bed2261fd2193309ea9b5f36187a56c5df9a Mon Sep 17 00:00:00 2001
From: TuvalSimha
Date: Wed, 31 May 2023 13:09:59 +0300
Subject: [PATCH 1/2] Website/speak: Update text
---
src/pages/conf/speak.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/conf/speak.tsx b/src/pages/conf/speak.tsx
index 6fba4e3346..8ca5d059dc 100644
--- a/src/pages/conf/speak.tsx
+++ b/src/pages/conf/speak.tsx
@@ -15,7 +15,7 @@ const cfp: Array<{ id: string; title: string; contents: ReactNode }> = [
items={[
["CFP Closes", "Friday, June 9 at 11:59 PM PDT (UTC-7)"],
["CFP Notifications", "Wednesday, June 21"],
- ["Schedule Announcement", "Friday, June 29"],
+ ["Schedule Announcement", "Week of June 26"],
["Slide upload deadline to Sched.com", "Friday, September 15"],
["Event Date", "Tuesday, September 19 – Thursday, September 21"],
]}
From a6f473f7bda10fad6df546a546dc13f43a752d84 Mon Sep 17 00:00:00 2001
From: TuvalSimha
Date: Thu, 1 Jun 2023 16:46:09 +0300
Subject: [PATCH 2/2] git push
---
src/components/Conf/Speakers/index.tsx | 16 +++++++++++-----
src/pages/conf/index.tsx | 8 +++++++-
src/pages/conf/speak.tsx | 14 +++++++++++---
3 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/src/components/Conf/Speakers/index.tsx b/src/components/Conf/Speakers/index.tsx
index a1946e480f..ac583edf54 100644
--- a/src/components/Conf/Speakers/index.tsx
+++ b/src/components/Conf/Speakers/index.tsx
@@ -46,6 +46,10 @@ 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
@@ -91,11 +95,13 @@ const SpeakersConf = () => {
challenges facing the growing GraphQL ecosystem. If you have
something worth sharing, submit an application to speak!
-
-
- Submit to Speak
-
-
+ {isExpired && (
+
+
+ Submit to Speak
+
+
+ )}
diff --git a/src/pages/conf/index.tsx b/src/pages/conf/index.tsx
index 773b836480..91f629307e 100644
--- a/src/pages/conf/index.tsx
+++ b/src/pages/conf/index.tsx
@@ -13,6 +13,10 @@ import SeoConf, { defaults as seoDefaults } from "../../components/Conf/Seo"
import { CalendarIcon, GlobeIcon } from "@radix-ui/react-icons"
export default () => {
+ const today = new Date()
+ const expiredDate = new Date("2023-06-10")
+ const isExpired = expiredDate > today
+
return (
@@ -39,7 +43,9 @@ export default () => {
Join as a Sponsor
Join as a Partner
- Submit to Speak
+ {isExpired && (
+ Submit to Speak
+ )}
diff --git a/src/pages/conf/speak.tsx b/src/pages/conf/speak.tsx
index 8ca5d059dc..8b6b0c1da4 100644
--- a/src/pages/conf/speak.tsx
+++ b/src/pages/conf/speak.tsx
@@ -276,6 +276,10 @@ function DL({ items }: { items: [header: string, contents: ReactNode][] }) {
}
export default () => {
+ const today = new Date()
+ const expiredDate = new Date("2023-06-10")
+ const isExpired = expiredDate > today
+
return (
@@ -297,9 +301,13 @@ export default () => {
.
-
- Submit a Proposal
-
+ {isExpired ? (
+
+ Submit a Proposal
+
+ ) : (
+ The CFP has closed.
+ )}
Please be aware that the Linux Foundation will now be utilizing
Sessionize for CFP submissions. Sessionize is a cloud-based event