add reusable ImageFigure component
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { EventFragment } from "@/lib/event";
|
||||
import styles from "./eventHeader.module.scss";
|
||||
import Image from "@/components/general/Image";
|
||||
import { Image } from "@/components/general/Image";
|
||||
import Link from "next/link";
|
||||
import { OrganizerList } from "./OrganizerList";
|
||||
import Icon from "../general/Icon";
|
||||
@ -17,6 +17,8 @@ function formatPrice(price: number): string {
|
||||
}
|
||||
|
||||
export const EventHeader = ({ event }: { event: EventFragment }) => {
|
||||
// TODO: where should we show image attribution for the featured image?
|
||||
|
||||
const featuredImage: any = event.featuredImage;
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user