#import "../Fragments/Refs/System.graphql" #import "../Fragments/Header/InternalOrExternalLink.graphql" #import "../Fragments/PageLink/ContentPageLink.graphql" #import "../Fragments/PageLink/LoyaltyPageLink.graphql" #import "../Fragments/PageLink/AccountPageLink.graphql" #import "../Fragments/Blocks/Card.graphql" query GetHeader($locale: String!) { all_header(limit: 1, locale: $locale) { items { top_link { title linkConnection { edges { node { ...ContentPageLink ...LoyaltyPageLink } } } } menu_items { title linkConnection { edges { node { ...ContentPageLink ...LoyaltyPageLink } } } see_all_link { title linkConnection { edges { node { ...ContentPageLink ...LoyaltyPageLink } } } } submenu { title links { title linkConnection { edges { node { ...ContentPageLink ...LoyaltyPageLink } } } } } cardConnection { edges { node { ...CardBlock } } } } } } } query GetHeaderRef($locale: String!) { all_header(limit: 1, locale: $locale) { items { system { ...System } } } }