@@ -15,7 +15,7 @@ const cfp: Array<{ id: string; title: string; contents: ReactNode }> = [
15
15
items = { [
16
16
[ "CFP Closes" , "Friday, June 9 at 11:59 PM PDT (UTC-7)" ] ,
17
17
[ "CFP Notifications" , "Wednesday, June 21" ] ,
18
- [ "Schedule Announcement" , "Friday, June 29 " ] ,
18
+ [ "Schedule Announcement" , "Week of June 26 " ] ,
19
19
[ "Slide upload deadline to Sched.com" , "Friday, September 15" ] ,
20
20
[ "Event Date" , "Tuesday, September 19 – Thursday, September 21" ] ,
21
21
] }
@@ -276,6 +276,10 @@ function DL({ items }: { items: [header: string, contents: ReactNode][] }) {
276
276
}
277
277
278
278
export default ( ) => {
279
+ const today = new Date ( )
280
+ const expiredDate = new Date ( "2023-06-10" )
281
+ const isExpired = expiredDate > today
282
+
279
283
return (
280
284
< LayoutConf >
281
285
< HeaderConf />
@@ -297,9 +301,13 @@ export default () => {
297
301
</ a >
298
302
.
299
303
</ p >
300
- < ButtonConf href = "https://sessionize.com/graphqlconf2023/" >
301
- Submit a Proposal
302
- </ ButtonConf >
304
+ { isExpired ? (
305
+ < ButtonConf href = "https://sessionize.com/graphqlconf2023/" >
306
+ Submit a Proposal
307
+ </ ButtonConf >
308
+ ) : (
309
+ < div className = "font-bold" > The CFP has closed.</ div >
310
+ ) }
303
311
< p className = "italic" >
304
312
Please be aware that the Linux Foundation will now be utilizing
305
313
Sessionize for CFP submissions. Sessionize is a cloud-based event
0 commit comments