move permalink

pull/316/head
Neil Parikh 1 year ago
parent f58a6407f2
commit 097669994a
  1. 5
      components/EventDescriptionCard.tsx

@ -46,15 +46,14 @@ export function EventDescriptionCard({
{poster && <Image className={styles.poster} src={poster} alt={name} />}
<div className={styles.details}>
<h1 className={styles.name}>
{permaLink ? <Link href={permaLink}>{name}</Link> : name}
</h1>
<h1 className={styles.name}>{name}</h1>
<h2 className={styles.setting}>
<EventSetting date={date} online={online} location={location} />
</h2>
<p className={styles.desc}>{short}</p>
<footer>
{permaLink && <Link href={permaLink}>More details</Link>}
{registerLink && (
<div className={styles.button}>
<Button isLink={true} href={registerLink} size="small">

Loading…
Cancel
Save