Add image tag
This commit is contained in:
parent
051fa14303
commit
1449f987cd
|
@ -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>
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
}
|
||||
|
||||
.setting {
|
||||
margin: 0;
|
||||
color: var(--blue-1);
|
||||
font-weight: bolder;
|
||||
font-size: 0.75rem;
|
||||
|
|
Loading…
Reference in New Issue