Files
web/lib/graphql/Query/ContentPage.graphql

53 lines
916 B
GraphQL

query GetContentPage($locale: String!, $uid: String!) {
content_page(uid: $uid, locale: $locale) {
title
header {
heading
preamble
}
hero_image
system {
uid
created_at
updated_at
locale
}
}
}
query GetDaDeEnUrlsContentPage($uid: String!) {
de: all_content_page(where: { uid: $uid }, locale: "de") {
items {
url
}
}
en: all_content_page(where: { uid: $uid }, locale: "en") {
items {
url
}
}
da: all_content_page(where: { uid: $uid }, locale: "da") {
items {
url
}
}
}
query GetFiNoSvUrlsContentPage($uid: String!) {
fi: all_content_page(where: { uid: $uid }, locale: "fi") {
items {
url
}
}
no: all_content_page(where: { uid: $uid }, locale: "no") {
items {
url
}
}
sv: all_content_page(where: { uid: $uid }, locale: "sv") {
items {
url
}
}
}