fix(SW-302): update handling of activity card

This commit is contained in:
Matilda Landström
2024-10-01 15:43:56 +02:00
parent c12fb9f125
commit c7146e01a7
5 changed files with 29 additions and 24 deletions

View File

@@ -1,11 +1,13 @@
#import "../../Fragments/PageLink/ContentPageLink.graphql"
query GetHotelPage($locale: String!, $uid: String!) {
hotel_page(locale: $locale, uid: $uid) {
hotel_page_id
title
url
content {
__typename
... on HotelPageContentUpcomingActivitiesCard {
__typename
upcoming_activities_card {
background_image
cta_text
@@ -16,15 +18,8 @@ query GetHotelPage($locale: String!, $uid: String!) {
hotel_page_activities_content_pageConnection {
edges {
node {
... on ContentPage {
url
web {
original_url
}
system {
locale
}
}
__typename
...ContentPageLink
}
}
}