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

@ -1,5 +1,32 @@
import { graphql } from "@/gql";
export type PigName =
| "logo"
| "music"
| "drink"
| "dance"
| "point"
| "student"
| "listen"
| "guard"
| "key"
| "chill"
| "peek";
export const PIG_NAMES = [
"logo",
"music",
"drink",
"dance",
"point",
"student",
"listen",
"guard",
"key",
"chill",
"peek",
];
const BlockFragmentDefinition = graphql(`
fragment Blocks on StreamFieldInterface {
id

View File

@ -40,6 +40,7 @@ const EventFragmentDefinition = graphql(`
featuredImage {
...Image
}
pig
facebookUrl
ticketUrl
priceRegular