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
@@ -0,0 +1,27 @@
|
||||
#import "../Image.graphql"
|
||||
|
||||
fragment AppDownloads on Footer {
|
||||
app_downloads {
|
||||
title
|
||||
app_store {
|
||||
href
|
||||
imageConnection {
|
||||
edges {
|
||||
node {
|
||||
...Image
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
google_play {
|
||||
href
|
||||
imageConnection {
|
||||
edges {
|
||||
node {
|
||||
...Image
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fragment Logo on Footer {
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
title
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
#import "../PageLinks.graphql"
|
||||
|
||||
fragment Navigation on Footer {
|
||||
navigation {
|
||||
links {
|
||||
... on FooterNavigationLinksInternalLink {
|
||||
__typename
|
||||
internal_link {
|
||||
link_text
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...TempPageLink
|
||||
...CurrentBlocksPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on FooterNavigationLinksExternalLink {
|
||||
__typename
|
||||
external_link {
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
title
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
fragment SocialMedia on Footer {
|
||||
social_media {
|
||||
title
|
||||
facebook {
|
||||
href
|
||||
title
|
||||
}
|
||||
instagram {
|
||||
href
|
||||
title
|
||||
}
|
||||
twitter {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#import "../Image.graphql"
|
||||
|
||||
fragment TripAdvisor on Footer {
|
||||
trip_advisor {
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
...Image
|
||||
}
|
||||
}
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user