move permalink
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Neil Parikh 2021-09-12 01:01:49 -04:00
parent f58a6407f2
commit 097669994a
1 changed files with 2 additions and 3 deletions

View File

@ -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">