@@ -28,9 +28,8 @@ const Argentina = (props: any) => {
2828 spanRows : 2 ,
2929 name : `Ethereum World's Fair & Coworking Space` ,
3030 description : 'Open coworking space for developers, builders, and researchers to collaborate throughout the week.' ,
31- organizer : 'DevConnect ' ,
31+ organizer : 'Ethereum Foundation ' ,
3232 difficulty : 'All Welcome' ,
33- amountPeople : '100' ,
3433 isCoreEvent : true ,
3534 timeblocks : [
3635 {
@@ -51,84 +50,98 @@ const Argentina = (props: any) => {
5150 text : 'Innovation Hub' ,
5251 } ,
5352 } ,
54- {
55- id : 'event-001' ,
56- priority : 2 ,
57- spanRows : 3 ,
58- name : 'ETH Day' ,
59- description : 'A beginner-friendly workshop covering blockchain fundamentals and use cases.' ,
60- organizer : 'Ethereum Foundation' ,
61- difficulty : 'All Welcome' ,
62- isFairEvent : true ,
63- amountPeople : '50' ,
64- timeblocks : [
65- {
66- start : '2025-11-17T10:00:00Z' ,
67- end : '2025-11-17T12:00:00Z' ,
68- } ,
69- ] ,
70- location : {
71- url : 'https://example.com/venue1' ,
72- text : 'Main Conference Hall' ,
73- } ,
74- // timeblocks: [
75- // {
76- // start: '2025-11-17T10:00:00Z',
77- // end: '2025-11-17T12:00:00Z',
78- // },
79- // ],
80- // priority: 1,
81- // categories: ['Education', 'Blockchain', 'Workshop'],
82- } ,
53+ // {
54+ // id: 'event-001',
55+ // priority: 2,
56+ // spanRows: 3,
57+ // name: 'ETH Day',
58+ // description: 'A beginner-friendly workshop covering blockchain fundamentals and use cases.',
59+ // organizer: 'Ethereum Foundation',
60+ // difficulty: 'All Welcome',
61+ // isFairEvent: true,
62+ // timeblocks: [
63+ // {
64+ // start: '2025-11-17T10:00:00Z',
65+ // end: '2025-11-17T12:00:00Z',
66+ // },
67+ // ],
68+ // location: {
69+ // url: 'https://example.com/venue1',
70+ // text: 'Main Conference Hall',
71+ // },
72+ // // timeblocks: [
73+ // // {
74+ // // start: '2025-11-17T10:00:00Z',
75+ // // end: '2025-11-17T12:00:00Z',
76+ // // },
77+ // // ],
78+ // // priority: 1,
79+ // // categories: ['Education', 'Blockchain', 'Workshop'],
80+ // },
8381 ]
8482
8583 const events = [ ...props . events , ...coreEvents ] . map ( event => {
84+ const overrides = { } as any
85+
86+ if ( event . id === '1f5638cd-c415-809b-8fbd-ec8c4ba7f5b9' ) {
87+ overrides . name = 'ETH Day'
88+ overrides . isFairEvent = true
89+ overrides . spanRows = 3
90+ }
91+
8692 return {
8793 ...event ,
94+ ...overrides ,
8895 onClick : ( ) => { } ,
8996 }
9097 } )
9198
99+ console . log ( events , 'hello' )
100+
92101 return (
93102 < >
94103 < Header active fadeOutOnScroll />
95104 < div className = "relative h-[24vh] w-full text-black bg-black flex flex-col justify-end overflow-hidden" >
96105 < Image
97106 src = { Voxel }
98107 alt = "Voxel art background"
99- className = { cn ( styles . argentina , 'object-cover absolute object-[0%,13 %] h-full w-full opacity-80' ) }
108+ className = { cn ( styles . argentina , 'object-cover absolute object-[0%,14 %] h-full w-full opacity-80' ) }
100109 />
101110
102111 < div className = "section z-10 pb-1" >
103112 < div className = "flex justify-between items-end" >
104113 < Image src = { PageTitle } alt = "Page Title" className = { 'contain w-[450px] translate-x-[-3%]' } />
105- < div className = { cn ( styles . shadow , 'gap-2 pb-3 text-white text-lg ' ) } >
114+ < div className = { cn ( styles . shadow , 'gap-2 pb-3 text-white hidden md:block ' ) } >
106115 17 — 22 November Buenos Aires, ARGENTINA
107116 </ div >
108117 </ div >
109118 </ div >
110119 { /* <div className="absolute top-0 left-0 w-full h-full bg-black opacity-50"></div> */ }
111120 </ div >
112- < div className = "flex flex-col gap-4 text-black" >
113- < div className = "section my-1 mb-8 " >
121+ < div className = "flex flex-col text-black" >
122+ < div className = "section" >
114123 < div className = "flex justify-between gap-4 my-6" >
115- < div className = "text-2xl" >
124+ < div className = "text-2xl hidden md:block " >
116125 < b > November</ b > 2025
117126 </ div >
118127 < div className = "text-sm rounded-md bg-[#74ACDF33] px-4 py-2 text-[#36364C]" >
119128 < b > This calendar is a work in progress and will change before Devconnect week.</ b > Check back regularly
120129 for updates.
121130 </ div >
122131 </ div >
132+ </ div >
123133
134+ < div className = "section overflow-visible touch-only:contents" >
124135 < NewSchedule
125136 events = { events }
126137 selectedEvent = { selectedEvent }
127138 selectedDay = { selectedDay }
128139 setSelectedEvent = { setSelectedEvent }
129140 setSelectedDay = { setSelectedDay }
130141 />
142+ </ div >
131143
144+ < div className = "section mb-8" >
132145 < div className = "flex flex-col gap-4 my-4" >
133146 < div className = "text-2xl" >
134147 < b > Want to be featured on our calendar?</ b >
@@ -137,8 +150,9 @@ const Argentina = (props: any) => {
137150 Check back soon for more information on how to submit your event to our calendar.
138151 </ div >
139152 </ div >
153+ </ div >
140154
141- { /* <div className="text-sm flex flex-col gap-4">
155+ { /* <div className="text-sm flex flex-col gap-4">
142156 <p>
143157 <strong>Disclaimer:</strong> This calendar is a work in progress and may change a lot before Devconnect
144158 week. Please check back regularly for updates.
@@ -163,8 +177,8 @@ const Argentina = (props: any) => {
163177 . You can also use atprotocol directly, as all data is public.
164178 </p>
165179 </div> */ }
166- </ div >
167180 </ div >
181+
168182 < Footer />
169183 </ >
170184 )
@@ -269,14 +283,15 @@ export interface Event {
269283
270284 return {
271285 id : event . id ,
272- name : formattedEvent [ 'Event name' ] ,
286+ name : formattedEvent [ 'Event name' ] || '' ,
273287 description : formattedEvent [ 'Description' ] || '' ,
274- capacity : formattedEvent [ 'Capacity' ] ,
288+ capacity : formattedEvent [ 'Capacity' ] || '' ,
275289 startDate : formattedEvent [ 'Event date' ] ,
276290 // size: formattedEvent['Size'],
277291 location : formattedEvent [ 'Location' ] || { text : 'TBD' , url : '' } ,
278292 timeblocks : timeblocks ,
279293 difficulty : 'Beginner' ,
294+ organizer : formattedEvent [ 'Organization' ] || '' ,
280295 }
281296 } )
282297
0 commit comments