#import "../AccountPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"

#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"

fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
  dynamic_content {
    component
    subtitle: preamble
    title
    link {
      text: link_text
      linkConnection {
        edges {
          node {
            __typename
            ...AccountPageLink
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
  dynamic_content {
    link {
      linkConnection {
        edges {
          node {
            __typename
            ...AccountPageRef
            ...LoyaltyPageRef
          }
        }
      }
    }
  }
}

fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
  dynamic_content {
    component
    subtitle
    title
    link {
      text
      linkConnection: pageConnection {
        edges {
          node {
            __typename
            ...ContentPageLink
            ...HotelPageLink
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
  dynamic_content {
    link {
      linkConnection: pageConnection {
        edges {
          node {
            __typename
            ...ContentPageRef
            ...HotelPageRef
            ...LoyaltyPageRef
          }
        }
      }
    }
  }
}

fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
  dynamic_content {
    component
    subtitle
    title
    link {
      text
      linkConnection: pageConnection {
        edges {
          node {
            __typename
            ...ContentPageLink
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
  dynamic_content {
    link {
      linkConnection: pageConnection {
        edges {
          node {
            __typename
            ...ContentPageLink
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}
