feat(SW-187): Added tertiary links data
This commit is contained in:
22
lib/graphql/Fragments/Footer/Refs/TertiaryLinks.graphql
Normal file
22
lib/graphql/Fragments/Footer/Refs/TertiaryLinks.graphql
Normal file
@@ -0,0 +1,22 @@
|
||||
#import "../../Refs/LoyaltyPage/LoyaltyPage.graphql"
|
||||
#import "../../Refs/MyPages/AccountPage.graphql"
|
||||
#import "../../Refs/ContentPage/ContentPage.graphql"
|
||||
|
||||
fragment TertiaryLinksRef on Footer {
|
||||
__typename
|
||||
tertiary_links {
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...LoyaltyPageRef
|
||||
...ContentPageRef
|
||||
...AccountPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
28
lib/graphql/Fragments/Footer/TertiaryLinks.graphql
Normal file
28
lib/graphql/Fragments/Footer/TertiaryLinks.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
fragment TertiaryLinks on Footer {
|
||||
tertiary_links {
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on AccountPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
... on LoyaltyPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
... on ContentPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user