@@ -70,6 +70,39 @@ export default function Events() {
7070 }
7171 }
7272
73+ const events : any = [
74+ {
75+ date : '25-26 Feb' ,
76+ title : 'PyCon PH' ,
77+ location : 'Makati Sports Club, Makati City, Philippines' ,
78+ link : 'https://pycon-2024.python.ph' ,
79+ } ,
80+ {
81+ date : '24-25 Aug (Tentative)' ,
82+ title : 'PyCon MY' ,
83+ } ,
84+ {
85+ date : '7-8 Sep (Tentative)' ,
86+ title : 'PyCon TW' ,
87+ } ,
88+ {
89+ date : '27-29 Sep (Tentative)' ,
90+ title : 'PyCon JP' ,
91+ } ,
92+ {
93+ date : '25-27 Oct' ,
94+ title : 'PyCon APAC' ,
95+ location : 'Yogyakarta, Indonesia' ,
96+ link : 'https://pycon.id' ,
97+ } ,
98+ {
99+ date : 'Near end of Year (Tentative)' ,
100+ title : 'PyCon KR' ,
101+ }
102+ ] ;
103+
104+ const eventsNextYear : any = [ ] ;
105+
73106 return (
74107 < div className = "events-container" >
75108 < div className = "container" >
@@ -79,44 +112,39 @@ export default function Events() {
79112 < div className = "section-heading" >
80113 < h1 className = "text-white" > Events</ h1 >
81114 < br />
82- < h4 className = "text-white" > Regional PyCon 2023 in APAC Schedule</ h4 >
115+ < h4 className = "text-white" > Regional PyCon 2024 in APAC Schedule</ h4 >
83116 < br />
84117 </ div >
85118 < div className = "medium-text text-white" style = { { opacity : '60%' } } >
86119 < ul >
87- < li > Feb 25-26: < strong > PyCon PH</ strong > Manila, Philippines < a href = "https://pycon-2023.python.ph" > 🔗</ a > </ li >
88- < li > Aug 11-13: < strong > PyCon KR</ strong > Seoul, Korea < a href = "https://2023.pycon.kr" > 🔗</ a > </ li >
89- < li > Aug 18-22: < strong > PyCon AU</ strong > Adelaide, Australia < a href = "http://au.pycon.org" > 🔗</ a > </ li >
90- < li > Aug 26: < strong > PyCon MY</ strong > Malaysia < a href = "https://pycon.my" > 🔗</ a > </ li >
91- < li > Sept 2-3: < strong > PyCon TW</ strong > Taipei, Taiwan < a href = "https://tw.pycon.org" > 🔗</ a > </ li >
92- < li > Sept 15-17: < strong > Kiwi PyCon</ strong > Invercargill, New Zealand < a href = "https://kiwipycon.nz" > 🔗</ a > </ li >
93- < li > Sept 29-Oct 2: < strong > PyCon India</ strong > Hyderabad, India < a href = "https://in.pycon.org/2023/" > 🔗</ a > </ li >
94- < li > Oct 27-29: < strong > PyCon APAC (by PyCon JP)</ strong > Tokyo, Japan < a href = "https://2023-apac.pycon.jp" > 🔗</ a > </ li >
95- < li > Nov 10-11: < strong > PyCon HK</ strong > Hong Kong < a href = "https://pycon.hk" > 🔗</ a > </ li >
96- < li > Nov 18-19: < strong > PyCon ID</ strong > Indonesia < a href = "https://pycon.id" > 🔗</ a > </ li >
97- < li > Dec 15-16: < strong > PyCon TH </ strong > Thailand < a href = "https://th.pycon.org" > 🔗</ a > </ li >
120+ { events . map ( ( event : any , index : number ) => (
121+ < li > { event . date } : < strong > { event . title } </ strong > { event . location } { event . link && < a href = { event . link } > 🔗</ a > } </ li >
122+ ) ) }
98123 </ ul >
99124 </ div >
100125 </ div >
101126 </ div >
102127 </ div >
103- < div className = "row" >
104- < div className = "col-lg-6 col-xs-12" >
105- < div className = "left-text-content" >
106- < div className = "section-heading" >
107- < br />
108- < h4 className = "text-white" > Regional PyCon 2024 in APAC Schedule</ h4 >
109- < br />
110- </ div >
111- < div className = "medium-text text-white" style = { { opacity : '60%' } } >
112- < ul >
113- < li > Feb 25-26: < strong > PyCon PH</ strong > Manila, Philippines < a href = "https://ph.pycon.org" > 🔗</ a > </ li >
114- < li > Oct 25-27: < strong > PyCon APAC</ strong > Yogyakarta, Indonesia < a href = "https://pycon.id" > 🔗</ a > </ li >
115- </ ul >
128+ { eventsNextYear . length > 0 && (
129+ < div className = "row" >
130+ < div className = "col-lg-6 col-xs-12" >
131+ < div className = "left-text-content" >
132+ < div className = "section-heading" >
133+ < br />
134+ < h4 className = "text-white" > Regional PyCon 2025 in APAC Schedule</ h4 >
135+ < br />
136+ </ div >
137+ < div className = "medium-text text-white" style = { { opacity : '60%' } } >
138+ < ul >
139+ { eventsNextYear . map ( ( event : any , index : number ) => (
140+ < li key = { index } > { event . date } : < strong > { event . title } </ strong > { event . location } { event . link && < a href = { event . link } > 🔗</ a > } </ li >
141+ ) ) }
142+ </ ul >
143+ </ div >
116144 </ div >
117145 </ div >
118146 </ div >
119- </ div >
147+ ) }
120148 </ div >
121149 < div className = "events-slides-container mt-8" >
122150 < div className = "container" >
0 commit comments