Add image tag

This commit is contained in:
Jared He 2021-05-22 14:17:16 -05:00
parent 051fa14303
commit 1449f987cd
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import React, { ReactNode } from "react";
import styles from "./EventCard.module.css";
import { EventSetting } from "./EventSetting";
import { Image } from "./Image";
// import Button from ".Button"
interface EventCardProps {
@ -27,7 +28,7 @@ export function EventCard({
return (
<section className={styles.eventCard}>
<aside>
<img alt={name} src={poster} />
<Image alt={name} src={poster} />
{/*<Button />*/}
<button>
<a href={registerLink}>Register</a>

View File

@ -48,6 +48,7 @@
}
.setting {
margin: 0;
color: var(--blue-1);
font-weight: bolder;
font-size: 0.75rem;