Merged in feat/footer (pull request #11)
Feat/footer * chore: correct type * fix: remove redundant return type * chore: align code formatting * chore: format code to avoid diffing noise * chore: clean up format diffing noise * chore: move props tying to types folder * fix: update app_downloads usage and types * fix: improve footer query and typings * refactor: add Image.graphql * fix: correct typings
This commit is contained in:
committed by
Simon.Emanuelsson
parent
7926568eae
commit
2bd4e25403
26
lib/graphql/Query/Footer.graphql
Normal file
26
lib/graphql/Query/Footer.graphql
Normal file
@@ -0,0 +1,26 @@
|
||||
#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"
|
||||
|
||||
query GetFooter($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
title
|
||||
system {
|
||||
locale
|
||||
uid
|
||||
}
|
||||
about {
|
||||
text
|
||||
title
|
||||
}
|
||||
...AppDownloads
|
||||
...Logo
|
||||
...Navigation
|
||||
...SocialMedia
|
||||
...TripAdvisor
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user