@@ -161,6 +161,30 @@ export function CPDashboard() {
161161 } ) ;
162162 } ;
163163
164+ const eventTitleStyle = {
165+ textAlign : 'left' ,
166+ color : '#2f3f55' ,
167+ margin : '0 0 8px' ,
168+ fontWeight : 600 ,
169+ fontSize : '1.1rem' ,
170+ lineHeight : 1.3 ,
171+ } ;
172+
173+ const eventMetaStyle = {
174+ fontSize : '0.86rem' ,
175+ color : '#5c6b7a' ,
176+ gap : '6px' ,
177+ margin : '4px 0' ,
178+ lineHeight : 1.35 ,
179+ fontWeight : 500 ,
180+ } ;
181+
182+ const eventIconStyle = {
183+ color : '#6b7785' ,
184+ marginTop : '1px' ,
185+ fontSize : '0.78rem' ,
186+ } ;
187+
164188 // Helper function to extract date in YYYY-MM-DD format from event date
165189 const parseEventDate = dateString => {
166190 if ( ! dateString ) return null ;
@@ -258,15 +282,20 @@ export function CPDashboard() {
258282 < FixedRatioImage src = { event . image } alt = { event . title } fallback = { FALLBACK_IMG } />
259283 </ div >
260284 < CardBody >
261- < h5 className = { styles . eventTitle } > { event . title } </ h5 >
262- < p className = { styles . eventDate } >
263- < FaCalendarAlt className = { styles . eventIcon } /> { formatDate ( event . date ) }
285+ < h5 className = { styles . eventTitle } style = { eventTitleStyle } >
286+ { event . title }
287+ </ h5 >
288+ < p className = { styles . eventDate } style = { eventMetaStyle } >
289+ < FaCalendarAlt className = { styles . eventIcon } style = { eventIconStyle } /> { ' ' }
290+ { formatDate ( event . date ) }
264291 </ p >
265- < p className = { styles . eventLocation } >
266- < FaMapMarkerAlt className = { styles . eventIcon } /> { event . location || 'Location TBD' }
292+ < p className = { styles . eventLocation } style = { eventMetaStyle } >
293+ < FaMapMarkerAlt className = { styles . eventIcon } style = { eventIconStyle } /> { ' ' }
294+ { event . location || 'Location TBD' }
267295 </ p >
268- < p className = { styles . eventOrganizer } >
269- < FaUserAlt className = { styles . eventIcon } /> { event . organizer || 'Organizer TBD' }
296+ < p className = { styles . eventOrganizer } style = { eventMetaStyle } >
297+ < FaUserAlt className = { styles . eventIcon } style = { eventIconStyle } /> { ' ' }
298+ { event . organizer || 'Organizer TBD' }
270299 </ p >
271300 </ CardBody >
272301 </ Card >
0 commit comments