Move bg pig outside animated element so he can be fixed

This commit is contained in:
elise
2024-08-04 16:53:41 +02:00
parent 31a8ed4212
commit d19f598e7c

View File

@ -39,11 +39,13 @@ export default async function Page() {
const bookableVenues = venues.filter((venue) => venue.showAsBookable); const bookableVenues = venues.filter((venue) => venue.showAsBookable);
return ( return (
<main className="site-main" id="main"> <>
<PageHeader heading={index.title} lead={index.lead} /> <main className="site-main" id="main">
{index.body && <Blocks blocks={index.body} />} <PageHeader heading={index.title} lead={index.lead} />
<VenueList venues={bookableVenues} heading="Våre lokaler" /> {index.body && <Blocks blocks={index.body} />}
<VenueList venues={bookableVenues} heading="Våre lokaler" />
</main>
<BgPig type="key" /> <BgPig type="key" />
</main> </>
); );
} }