chore(SW-194): ContentPage Accordion

This commit is contained in:
Matilda Landström
2024-10-08 12:26:15 +02:00
parent 166ddca0e0
commit 6265d6b7dc
18 changed files with 374 additions and 12 deletions

View File

@@ -1,10 +1,66 @@
#import "../../Fragments/PageLink/AccountPageLink.graphql"
#import "../../Fragments/PageLink/ContentPageLink.graphql"
#import "../../Fragments/PageLink/HotelPageLink.graphql"
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
query GetHotelPage($locale: String!, $uid: String!) {
hotel_page(locale: $locale, uid: $uid) {
hotel_page_id
title
url
faq {
__typename
title
global_hotel_faqConnection {
edges {
node {
... on Accordion {
__typename
title
questions {
question
answer {
json
embedded_itemsConnection {
edges {
node {
__typename
... on ContentPage {
__typename
title
url
system {
...System
}
web {
original_url
}
}
}
}
}
}
}
}
}
}
}
hotel_specific_faq {
questions {
answer {
json
embedded_itemsConnection {
edges {
node {
__typename
}
}
}
}
question
}
}
}
content {
__typename
... on HotelPageContentUpcomingActivitiesCard {