add support for choosing a pig for events

This commit is contained in:
2024-05-23 02:46:39 +02:00
parent 969b8d0aaf
commit fccef30270
12 changed files with 178 additions and 20 deletions

View File

@@ -53,7 +53,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
<Blocks blocks={event.body} />
</section>
</main>
<BgPig type="dance" color="white" />
{event.pig && <BgPig type={event.pig} color="white" />}
</>
);
}