import { gql } from "graphql-tag" import { Metadata } from "../../Fragments/Metadata.graphql" import { System } from "../../Fragments/System.graphql" export const GetLoyaltyPageMetadata = gql` query GetLoyaltyPageMetadata($locale: String!, $uid: String!) { loyalty_page(locale: $locale, uid: $uid) { web { breadcrumbs { title } seo_metadata { ...Metadata } } heading preamble hero_image blocks { ... on LoyaltyPageBlocksContent { __typename content { content { json } } } } system { ...System } } } ${Metadata} ${System} `