feat(SW-1388): add hero image and heading to startpage * feat(SW-1388): add hero image and heading to startpage * fix(SW-1388): spacing variables for padding * fix(SW-1388): use inset value instead Approved-by: Erik Tiekstra
52 lines
925 B
GraphQL
52 lines
925 B
GraphQL
#import "../../Fragments/System.graphql"
|
|
|
|
query GetStartPage($locale: String!, $uid: String!) {
|
|
start_page(uid: $uid, locale: $locale) {
|
|
title
|
|
url
|
|
header {
|
|
heading
|
|
hero_image
|
|
}
|
|
system {
|
|
...System
|
|
created_at
|
|
updated_at
|
|
}
|
|
}
|
|
trackingProps: start_page(locale: "en", uid: $uid) {
|
|
url
|
|
}
|
|
}
|
|
|
|
query GetStartPageRefs($locale: String!, $uid: String!) {
|
|
start_page(locale: $locale, uid: $uid) {
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetDaDeEnUrlsStartPage($uid: String!) {
|
|
de: start_page(locale: "de", uid: $uid) {
|
|
url
|
|
}
|
|
en: start_page(locale: "en", uid: $uid) {
|
|
url
|
|
}
|
|
da: start_page(locale: "da", uid: $uid) {
|
|
url
|
|
}
|
|
}
|
|
query GetFiNoSvUrlsStartPage($uid: String!) {
|
|
fi: start_page(locale: "fi", uid: $uid) {
|
|
url
|
|
}
|
|
no: start_page(locale: "no", uid: $uid) {
|
|
url
|
|
}
|
|
sv: start_page(locale: "sv", uid: $uid) {
|
|
url
|
|
}
|
|
}
|