Skip to content

Commit

Permalink
homepage cards fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJ104 committed Jun 10, 2024
1 parent 29b6913 commit 5506a9b
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 189 deletions.
21 changes: 9 additions & 12 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,15 @@ export default function Home({ closureDates, upcomingEvents }) {
</div>
<h1>{t("upcoming_events_text")}</h1>
<div className={styles.events}>
<div className={styles.date_container}>
<ul>
{formattedEvents.map((event, index) => (
<li key={index}>{event.date}</li>
))}
</ul>
<ul>
{formattedEvents.map((event, index) => (
<li key={index}>{event.event}</li>
))}
</ul>
</div>
{/* <div className={styles.date_container}> */}
<ul>
{formattedEvents.map((event, index) => (
<div key={index} className={styles.date_container}>
<li className={styles.date}>{event.date}</li>
<li>{event.event}</li>
</div>
))}
</ul>
<div className={styles.events_image}>
<Image
src={"/images/home-page/events-img.png"}
Expand Down
Loading

0 comments on commit 5506a9b

Please sign in to comment.