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 6fba4e3346..8b6b0c1da4 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"],
]}
@@ -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