56 lines
1002 B
GraphQL
56 lines
1002 B
GraphQL
#import "../Fragments/ContentPage/Breadcrumbs.graphql"
|
|
|
|
query GetContentPage($locale: String!, $uid: String!) {
|
|
content_page(uid: $uid, locale: $locale) {
|
|
title
|
|
header {
|
|
heading
|
|
preamble
|
|
}
|
|
hero_image
|
|
...ContentPageBreadcrumbs
|
|
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
|
|
}
|
|
}
|
|
}
|