Add event info page EventCard
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Amy 2021-08-17 23:08:41 -04:00
parent b98d7b9e06
commit e11db336ac
1 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,14 @@ import {
} from "@/lib/events";
export default function EventInfoPage(props: Props) {
return <p>Hello, world!</p>;
return (
<EventCard
{...props.event.metadata}
date={new Date(props.event.metadata.date)}
>
<MDXRemote {...props.event.content} />
</EventCard>
);
}
interface Props {