add titles, description and images for seo

This commit is contained in:
2024-08-10 18:29:26 +02:00
parent ed10692318
commit 385f17eea1
19 changed files with 598 additions and 241 deletions
+29 -1
View File
@@ -28,6 +28,8 @@ const EventFragmentDefinition = graphql(`
__typename
id
slug
seoTitle
searchDescription
title
subtitle
lead
@@ -89,8 +91,34 @@ const EventFragmentDefinition = graphql(`
}
`);
export const futureEventsQuery = graphql(`
const EventIndexFragmentDefinition = graphql(`
fragment EventIndex on EventIndex {
__typename
id
slug
seoTitle
searchDescription
title
}
`);
export const eventIndexMetadataQuery = graphql(`
query eventIndexMetadata {
index: eventIndex {
... on EventIndex {
...EventIndex
}
}
}
`);
export const eventsOverviewQuery = graphql(`
query futureEvents {
index: eventIndex {
... on EventIndex {
...EventIndex
}
}
events: eventIndex {
... on EventIndex {
futureEvents {