nextjs-course-code icon indicating copy to clipboard operation
nextjs-course-code copied to clipboard

03 prj routing

Open sanketrannore opened this issue 2 years ago • 1 comments

nextjs project

sanketrannore avatar Jul 16 '22 03:07 sanketrannore

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?

Alfonso-Jim avatar May 17 '23 20:05 Alfonso-Jim