make background pigs that hide from the footer 🐷🐷🐷

This commit is contained in:
elisejakob
2024-05-15 00:53:11 +02:00
parent ba4a4b3941
commit c1e26b39ed
6 changed files with 90 additions and 12 deletions

View File

@ -4,7 +4,7 @@ import { getClient } from "@/app/client";
import { VenueList } from "@/components/venues/VenueList";
import Link from "next/link";
import { PageHeader } from "@/components/general/PageHeader";
import { Pig } from "@/components/general/Pig";
import { BgPig } from "@/components/general/BgPig";
const VenueFragmentDefinition = graphql(`
fragment Venue on VenuePage {
@ -56,9 +56,7 @@ export default async function Page() {
<main className="site-main" id="main">
<PageHeader heading="Utleie" />
<VenueList venues={venues} />
<div className="bg-pig">
<Pig type="key" />
</div>
<BgPig type="key" />
</main>
);
}