feat(SW-187): Footer data from contentstack
This commit is contained in:
28
lib/graphql/Query/Footer.graphql
Normal file
28
lib/graphql/Query/Footer.graphql
Normal file
@@ -0,0 +1,28 @@
|
||||
#import "../Fragments/Footer/AppDownloads.graphql"
|
||||
#import "../Fragments/Footer/MainLinks.graphql"
|
||||
#import "../Fragments/Footer/SecondaryLinks.graphql"
|
||||
#import "../Fragments/Footer/Refs/MainLinks.graphql"
|
||||
#import "../Fragments/Footer/Refs/SecondaryLinks.graphql"
|
||||
#import "../Fragments/Refs/System.graphql"
|
||||
|
||||
query GetFooter($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
...MainLinks
|
||||
...SecondaryLinks
|
||||
...AppDownloads
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetFooterRef($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
...MainLinksRef
|
||||
...SecondaryLinksRef
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user