feat/SW-1444 destination page add destination list component * feat(SW-1444): add list component * feat(SW-1444): add subtitle to accordion * feat(SW-1444): refactor component structure * feat(SW-1444): add desktop breakpoint * feat(SW-1444): fix typo * feat(SW-1444): add props * feat(SW-1444): add query * feat(SW-1444): updated query * feat(SW-1444): display data * feat(SW-1444): fix merge hickup * feat(SW-1444): change var name * feat(SW-1444): remove unsued translations * feat(SW-1444): use country as title * feat(SW-1444): sort hotels in query * feat(SW-1444): make responsive * feat(SW-1444): fetch country url * feat(SW-1444): update logging * feat(SW-1444): remove spread Approved-by: Erik Tiekstra
63 lines
1.3 KiB
GraphQL
63 lines
1.3 KiB
GraphQL
#import "../../Fragments/System.graphql"
|
|
|
|
query GetDestinationOverviewPage($locale: String!, $uid: String!) {
|
|
destination_overview_page(uid: $uid, locale: $locale) {
|
|
title
|
|
url
|
|
system {
|
|
...System
|
|
created_at
|
|
updated_at
|
|
}
|
|
}
|
|
trackingProps: destination_overview_page(locale: "en", uid: $uid) {
|
|
url
|
|
}
|
|
}
|
|
|
|
query GetDestinationOverviewPageRefs($locale: String!, $uid: String!) {
|
|
destination_overview_page(locale: $locale, uid: $uid) {
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetCountryPageUrl($locale: String!, $country: String!) {
|
|
all_destination_country_page(
|
|
where: { destination_settings: { country: $country } }
|
|
locale: $locale
|
|
) {
|
|
items {
|
|
url
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
|
de: destination_overview_page(locale: "de", uid: $uid) {
|
|
url
|
|
}
|
|
en: destination_overview_page(locale: "en", uid: $uid) {
|
|
url
|
|
}
|
|
da: destination_overview_page(locale: "da", uid: $uid) {
|
|
url
|
|
}
|
|
}
|
|
|
|
query GetFiNoSvUrlsDestinationOverviewPage($uid: String!) {
|
|
fi: destination_overview_page(locale: "fi", uid: $uid) {
|
|
url
|
|
}
|
|
no: destination_overview_page(locale: "no", uid: $uid) {
|
|
url
|
|
}
|
|
sv: destination_overview_page(locale: "sv", uid: $uid) {
|
|
url
|
|
}
|
|
}
|