Files
web/lib/graphql/Query/HotelPage/HotelPage.graphql
Linus Flood 54f094af86 Tracking WIP
2024-09-27 08:46:12 +02:00

63 lines
1.2 KiB
GraphQL

query GetHotelPage($locale: String!, $uid: String!) {
hotel_page(locale: $locale, uid: $uid) {
hotel_page_id
title
url
content {
... on HotelPageContentUpcomingActivitiesCard {
__typename
upcoming_activities_card {
background_image
cta_text
heading
body_text
open_in_new_tab
scripted_title
hotel_page_activities_content_pageConnection {
edges {
node {
... on ContentPage {
url
web {
original_url
}
system {
locale
}
}
}
}
}
}
}
}
page_settings {
tracking_page_name
}
}
}
query GetDaDeEnUrlsHotelPage($uid: String!) {
de: hotel_page(locale: "de", uid: $uid) {
url
}
en: hotel_page(locale: "en", uid: $uid) {
url
}
da: hotel_page(locale: "da", uid: $uid) {
url
}
}
query GetFiNoSvUrlsHotelPage($uid: String!) {
fi: hotel_page(locale: "fi", uid: $uid) {
url
}
no: hotel_page(locale: "no", uid: $uid) {
url
}
sv: hotel_page(locale: "sv", uid: $uid) {
url
}
}