#import "../Fragments/Aside/Contact.graphql"
#import "../Fragments/Aside/Puff.graphql"
#import "../Fragments/Blocks/List.graphql"
#import "../Fragments/Blocks/Puff.graphql"
#import "../Fragments/Blocks/Text.graphql"
#import "../Fragments/Breadcrumbs.graphql"
#import "../Fragments/Hero.graphql"
#import "../Fragments/Preamble.graphql"

query GetCurrentBlockPage($locale: String!, $url: String!) {
  all_current_blocks_page(limit: 1, locale: $locale, where: { url: $url }) {
    items {
      aside {
        __typename
        ...ContactAside
        ...PuffAside
      }
      blocks {
        __typename
        ...ListBlock
        ...PuffBlock
        ...TextBlock
      }
      ...Breadcrumbs
      hero {
        ...Hero
      }
      ...Preamble
      system {
        created_at
        uid
        updated_at
      }
      title
      url
    }
    total
  }
}
