Open sanketrannore opened 1 year ago
Hi, Max here is the updated code for displaying the height of the button properly. Since we don't have the div with the summary className anymore. I believe some students will have the same issue as I had (started the course couple of weeks ago). Nevertheless here is the solution.
<li className={classes.item}>
<img src={`/${image}`} alt={title} />
<div className={classes.content}>
<h2>{title}</h2>
<div className={classes.date}>
<DateIcon />
<time>{humanReadableDate}</time>
</div>
<div className={classes.address}>
<AddressIcon />
<address>{formattedAddress}</address>
</div>
<div className={classes.actions}>
<Button link={exploreLink}>
<span>Explore Event</span>
<span className={classes.icon}>
<ArrowRightIcon />
</span>
</Button>
</div>
</div>
</li>
If approved can I do a PR?
nextjs project