Closed moatazalaa14 closed 4 years ago
You should do the following:
eventCard
Component--> Consider this code for illustration:
events.map(singleEvent => {
return (
<div className="custom-class">
<EventCard event={singleEvent} />
</div>
)
});
bootstrap
's grid please.The upcoming
events should be beside each other and the card should take it's normal width and doesn't fill the whole row if it's single.
Also there should be a padding for the list to get more space above the footer. Also use semantics and divide the page into sections.
<h1> .. </h1>
<section>
<h2> .. </h2>
....
</section>
<section>
<h2> .. </h2>
....
</section>
Your work is awesome buddy, last edit: Center the upcoming events cards, so that if there's only one upcoming event it should be at the center.
Our events
, and a heading for upcoming event and another heading for past events. Also please use theeventCard
Component.