fix: trpc endpoint for footer data
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#import "../Image.graphql"
|
||||
|
||||
fragment AppDownloads on Footer {
|
||||
fragment AppDownloads on CurrentFooter {
|
||||
app_downloads {
|
||||
title
|
||||
app_store {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "../Image.graphql"
|
||||
|
||||
fragment Logo on Footer {
|
||||
fragment Logo on CurrentFooter {
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fragment Navigation on Footer {
|
||||
fragment Navigation on CurrentFooter {
|
||||
navigation {
|
||||
links {
|
||||
href
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fragment SocialMedia on Footer {
|
||||
fragment SocialMedia on CurrentFooter {
|
||||
social_media {
|
||||
title
|
||||
facebook {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "../Image.graphql"
|
||||
|
||||
fragment TripAdvisor on Footer {
|
||||
fragment TripAdvisor on CurrentFooter {
|
||||
trip_advisor {
|
||||
logoConnection {
|
||||
edges {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#import "../Fragments/Footer/SocialMedia.graphql"
|
||||
#import "../Fragments/Footer/TripAdvisor.graphql"
|
||||
|
||||
query GetFooter($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
query GetCurrentFooter($locale: String!) {
|
||||
all_current_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
title
|
||||
system {
|
||||
Reference in New Issue
Block a user