import { gql } from "graphql-tag" import { AccountPageRef } from "../../AccountPage/Ref.graphql" import { ContentPageRef } from "../../ContentPage/Ref.graphql" import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql" import { System } from "../../System.graphql" export const MainLinksRef = gql` fragment MainLinksRef on Footer { __typename main_links { pageConnection { edges { node { __typename ...LoyaltyPageRef ...ContentPageRef ...AccountPageRef } } } } system { ...System } } ${System} ${LoyaltyPageRef} ${AccountPageRef} ${ContentPageRef} `