{
"src":"/assets/img/events/internpanel.jpg",
"title":"Internship Panel",
"time":"Wednesday, October 18th, 2023",
"location": "DBH 6011 7- 8 PM",
"desc": "Looking for advice in applying for internships this application season ❓ Come meet our panelists and receive insight/listen to personal experiences about the application process at our ICSSC Internship Pane!"
},
Every other field can be empty, but Next's Image element requires that an image, passed as src be given to it. We could handle this in a handful of ways, but a simple Image Not Found placeholder (possibly with a cute Anteater) would do.
Currently, events are formatted like this:
Every other field can be empty, but Next's
Image
element requires that an image, passed assrc
be given to it. We could handle this in a handful of ways, but a simpleImage Not Found
placeholder (possibly with a cute Anteater) would do.Something like:
src={src ? src : imgNotFound}