import { gql } from "graphql-tag" import { AccountPageLink } from "../PageLink/AccountPageLink.graphql" import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql" import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql" import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql" import { ContentPageLink } from "../PageLink/ContentPageLink.graphql" import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql" import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql" import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql" import { HotelPageLink } from "../PageLink/HotelPageLink.graphql" import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql" import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql" import { StartPageLink } from "../PageLink/StartPageLink.graphql" const ContactFields = gql` fragment ContactFields on ContactFields { display_text contact_field contact_footnote } ` export const JoinLoyaltyContactSidebar_ContentPage = gql` fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyContact { join_loyalty_contact { preamble title button { cta_text open_in_new_tab external_link { href title } linkConnection { edges { node { __typename ...AccountPageLink ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink ...DestinationCityPageLink ...DestinationCountryPageLink ...DestinationOverviewPageLink ...HotelPageLink ...LoyaltyPageLink ...StartPageLink ...PromoCampaignPageLink } } } } contact { __typename ... on ContentPageSidebarJoinLoyaltyContactBlockContactContact { contact { ...ContactFields } } } } } ${ContactFields} ${AccountPageLink} ${CampaignOverviewPageLink} ${CampaignPageLink} ${CollectionPageLink} ${ContentPageLink} ${DestinationCityPageLink} ${DestinationCountryPageLink} ${DestinationOverviewPageLink} ${HotelPageLink} ${LoyaltyPageLink} ${StartPageLink} ${PromoCampaignPageLink} ` export const JoinLoyaltyContactSidebar_LoyaltyPage = gql` fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyContact { join_loyalty_contact { preamble title button { cta_text open_in_new_tab external_link { href title } linkConnection { edges { node { __typename ...AccountPageLink ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink ...DestinationCityPageLink ...DestinationCountryPageLink ...DestinationOverviewPageLink ...HotelPageLink ...LoyaltyPageLink ...StartPageLink ...PromoCampaignPageLink } } } } contact { __typename ... on LoyaltyPageSidebarJoinLoyaltyContactBlockContactContact { contact { ...ContactFields } } } } } ${ContactFields} ${AccountPageLink} ${CampaignOverviewPageLink} ${CampaignPageLink} ${CollectionPageLink} ${ContentPageLink} ${DestinationCityPageLink} ${DestinationCountryPageLink} ${DestinationOverviewPageLink} ${HotelPageLink} ${LoyaltyPageLink} ${StartPageLink} ${PromoCampaignPageLink} `