Skip to content

Conversation

sanketrannore
Copy link

nextjs project

@Alfonso-Jim
Copy link

Alfonso-Jim commented May 17, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants