feat(SW-66, SW-348): search functionality and ui

This commit is contained in:
Simon Emanuelsson
2024-08-28 10:47:57 +02:00
parent b9dbcf7d90
commit af850c90e7
437 changed files with 7663 additions and 9881 deletions

View File

@@ -0,0 +1,80 @@
#import "../Image.graphql"
#import "../ImageContainer.graphql"
#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
content {
content {
json
embedded_itemsConnection {
edges {
node {
__typename
...ContentPageLink
...Image
...ImageContainer
...LoyaltyPageLink
}
}
}
}
}
}
fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent {
content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...ContentPageRef
...ImageContainerRef
...LoyaltyPageRef
}
}
}
}
}
}
fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
content {
content {
json
embedded_itemsConnection {
edges {
node {
__typename
...ContentPageLink
...Image
...ImageContainer
...LoyaltyPageLink
}
}
}
}
}
}
fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent {
content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...ContentPageRef
...ImageContainerRef
...LoyaltyPageRef
}
}
}
}
}
}

View File

@@ -0,0 +1,11 @@
fragment DynamicContentSidebar_ContentPage on ContentPageSidebarDynamicContent {
dynamic_content {
component
}
}
fragment DynamicContentSidebar_LoyaltyPage on LoyaltyPageSidebarDynamicContent {
dynamic_content {
component
}
}

View File

@@ -0,0 +1,113 @@
#import "../AccountPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
fragment ContactFields on ContactFields {
display_text
contact_field
footnote
}
fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyContact {
join_loyalty_contact {
preamble
title
button {
cta_text
open_in_new_tab
external_link {
href
title
}
linkConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
}
}
}
}
contact {
__typename
... on ContentPageSidebarJoinLoyaltyContactBlockContactContact {
contact {
...ContactFields
}
}
}
}
}
fragment JoinLoyaltyContactSidebar_ContentPageRefs on ContentPageSidebarJoinLoyaltyContact {
join_loyalty_contact {
button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
}
}
}
}
}
}
fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyContact {
join_loyalty_contact {
preamble
title
button {
cta_text
open_in_new_tab
external_link {
href
title
}
linkConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
}
}
}
}
contact {
__typename
... on LoyaltyPageSidebarJoinLoyaltyContactBlockContactContact {
contact {
...ContactFields
}
}
}
}
}
fragment JoinLoyaltyContactSidebar_LoyaltyPageRefs on LoyaltyPageSidebarJoinLoyaltyContact {
join_loyalty_contact {
button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
}
}
}
}
}
}