Merged in feat/sw-187-footer-content-stack (pull request #565)

Feat/sw 187 footer content stack

Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
This commit is contained in:
Pontus Dreij
2024-09-12 07:11:25 +00:00
63 changed files with 1350 additions and 521 deletions

View File

@@ -1,8 +1,8 @@
#import "../Fragments/Footer/AppDownloads.graphql"
#import "../Fragments/Footer/Logo.graphql"
#import "../Fragments/Footer/Navigation.graphql"
#import "../Fragments/Footer/SocialMedia.graphql"
#import "../Fragments/Footer/TripAdvisor.graphql"
#import "../Fragments/CurrentFooter/AppDownloads.graphql"
#import "../Fragments/CurrentFooter/Logo.graphql"
#import "../Fragments/CurrentFooter/Navigation.graphql"
#import "../Fragments/CurrentFooter/SocialMedia.graphql"
#import "../Fragments/CurrentFooter/TripAdvisor.graphql"
#import "../Fragments/Refs/System.graphql"
query GetCurrentFooter($locale: String!) {

View File

@@ -0,0 +1,122 @@
#import "../Fragments/Refs/System.graphql"
#import "../Fragments/PageLink/AccountPageLink.graphql"
#import "../Fragments/PageLink/ContentPageLink.graphql"
#import "../Fragments/PageLink/HotelPageLink.graphql"
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
#import "../Fragments/Refs/ContentPage/ContentPage.graphql"
#import "../Fragments/Refs/HotelPage/HotelPage.graphql"
#import "../Fragments/Refs/LoyaltyPage/LoyaltyPage.graphql"
#import "../Fragments/Refs/MyPages/AccountPage.graphql"
#import "../Fragments/Footer/AppDownloads.graphql"
#import "../Fragments/Footer/SocialMedia.graphql"
query GetFooter($locale: String!) {
all_footer(limit: 1, locale: $locale) {
items {
main_links {
title
open_in_new_tab
link {
href
title
}
pageConnection {
edges {
node {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
}
secondary_links {
title
links {
title
open_in_new_tab
pageConnection {
edges {
node {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
link {
href
title
}
}
}
tertiary_links {
title
open_in_new_tab
link {
href
title
}
pageConnection {
edges {
node {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
}
...AppDownloads
...SocialMedia
}
}
}
query GetFooterRef($locale: String!) {
all_footer(limit: 1, locale: $locale) {
items {
main_links {
pageConnection {
edges {
node {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
secondary_links {
links {
pageConnection {
edges {
node {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
}
tertiary_links {
pageConnection {
edges {
node {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
system {
...System
}
}
}
}