removed extra comments
This commit is contained in:
parent
1799bfbcc7
commit
553bf7ebe5
|
@ -37,10 +37,8 @@ export const MiniEventCard: React.FC<EventProps> = ({
|
||||||
time,
|
time,
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
// relative position
|
|
||||||
<details className={styles.miniEventCard}>
|
<details className={styles.miniEventCard}>
|
||||||
<summary>
|
<summary>
|
||||||
{/* onClick handler and prevent default */}
|
|
||||||
<div onClick={(event) => event.preventDefault()}>
|
<div onClick={(event) => event.preventDefault()}>
|
||||||
<h2 className={styles.eventTitle}>{title}</h2>
|
<h2 className={styles.eventTitle}>{title}</h2>
|
||||||
<p className={styles.eventInfo}>
|
<p className={styles.eventInfo}>
|
||||||
|
@ -49,7 +47,6 @@ export const MiniEventCard: React.FC<EventProps> = ({
|
||||||
<p className={styles.shortDescription}>{descriptionShort}</p>
|
<p className={styles.shortDescription}>{descriptionShort}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* absolute position */}
|
|
||||||
<p className={styles.details}>
|
<p className={styles.details}>
|
||||||
View details <DropDownIcon />
|
View details <DropDownIcon />
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue