test
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2ba73b398a
commit
0d2e799639
|
@ -15,6 +15,7 @@ interface Props {
|
||||||
date: Date;
|
date: Date;
|
||||||
poster?: string;
|
poster?: string;
|
||||||
registerLink?: string;
|
registerLink?: string;
|
||||||
|
permaLink?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,6 +36,7 @@ export function EventDescriptionCard({
|
||||||
date,
|
date,
|
||||||
online,
|
online,
|
||||||
registerLink,
|
registerLink,
|
||||||
|
permaLink,
|
||||||
}: Props) {
|
}: Props) {
|
||||||
const Icon = getIcon(location);
|
const Icon = getIcon(location);
|
||||||
|
|
||||||
|
@ -43,7 +45,7 @@ export function EventDescriptionCard({
|
||||||
{poster && <Image className={styles.poster} src={poster} alt={name} />}
|
{poster && <Image className={styles.poster} src={poster} alt={name} />}
|
||||||
|
|
||||||
<div className={styles.details}>
|
<div className={styles.details}>
|
||||||
<h1 className={styles.name}>{name}</h1>
|
<h1 className={styles.name}>{permaLink ? <Link href={permaLink}>name</Link> : name}</h1>
|
||||||
<h2 className={styles.setting}>
|
<h2 className={styles.setting}>
|
||||||
<EventSetting date={date} online={online} location={location} />
|
<EventSetting date={date} online={online} location={location} />
|
||||||
</h2>
|
</h2>
|
||||||
|
|
|
@ -6,6 +6,7 @@ online: true
|
||||||
location: 'Twitch'
|
location: 'Twitch'
|
||||||
poster: 'images/events/2021/fall/BOT.png'
|
poster: 'images/events/2021/fall/BOT.png'
|
||||||
registerLink: https://bit.ly/csc-bot-event-signup-form
|
registerLink: https://bit.ly/csc-bot-event-signup-form
|
||||||
|
permaLink: /events/2021/fall/BOT/
|
||||||
---
|
---
|
||||||
|
|
||||||
Kick off the fall term with CS Club’s BOT event! 🍂 Interested in attending upcoming CSC events? Want to meet others in the CS community?
|
Kick off the fall term with CS Club’s BOT event! 🍂 Interested in attending upcoming CSC events? Want to meet others in the CS community?
|
||||||
|
|
|
@ -12,6 +12,7 @@ declare module "*.event.mdx" {
|
||||||
location: string;
|
location: string;
|
||||||
poster?: string;
|
poster?: string;
|
||||||
registerLink?: string;
|
registerLink?: string;
|
||||||
|
permaLink?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ReactComponent: ComponentType;
|
const ReactComponent: ComponentType;
|
||||||
|
|
Loading…
Reference in New Issue