#import "../../Fragments/Metadata.graphql"
#import "../../Fragments/System.graphql"

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
    }
  }
}
