Add event info page EventCard
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b98d7b9e06
commit
e11db336ac
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue