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 { ContentCardBlock } from "./ContentCard.graphql" export const CarouselCards_StartPage = gql` fragment CarouselCards_StartPage on StartPageBlocksCarouselCards { carousel_cards { heading enable_filters card_groups { filter_label filter_identifier cardConnection { edges { node { ...ContentCardBlock } } } } link { cta_text is_contentstack_link open_in_new_tab external_link { href title } linkConnection { edges { node { __typename ...AccountPageLink ...CampaignOverviewPageLink ...CampaignPageLink ...CollectionPageLink ...ContentPageLink ...DestinationCityPageLink ...DestinationCountryPageLink ...DestinationOverviewPageLink ...HotelPageLink ...LoyaltyPageLink ...PromoCampaignPageLink } } } } } } ${ContentCardBlock} ${AccountPageLink} ${CampaignOverviewPageLink} ${CampaignPageLink} ${CollectionPageLink} ${ContentPageLink} ${DestinationCityPageLink} ${DestinationCountryPageLink} ${DestinationOverviewPageLink} ${HotelPageLink} ${LoyaltyPageLink} ${PromoCampaignPageLink} ` export const CarouselCards_CampaignPage = gql` fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards { carousel_cards { heading preamble enable_filters card_groups { filter_label filter_identifier cardConnection { edges { node { ...ContentCardBlock } } } } } } ${ContentCardBlock} ` export const CarouselCards_CampaignOverviewPage = gql` fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards { carousel_cards { heading enable_filters card_groups { filter_label filter_identifier cardConnection { edges { node { ...ContentCardBlock } } } } } } ${ContentCardBlock} `