add date list component
This commit is contained in:
@ -4,6 +4,7 @@ import { getClient } from "@/app/client";
|
||||
import { Blocks } from "@/components/blocks/Blocks";
|
||||
import Image from "@/components/general/Image";
|
||||
import { EventHeader } from "@/components/events/EventHeader";
|
||||
import { DateList } from "@/components/events/DateList";
|
||||
|
||||
export async function generateStaticParams() {
|
||||
const allEventSlugsQuery = graphql(`
|
||||
@ -46,6 +47,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
|
||||
<main className="site-main" id="main">
|
||||
<EventHeader event={event} />
|
||||
<section className="page-content">
|
||||
<DateList />
|
||||
<Blocks blocks={event.body} />
|
||||
</section>
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user