Files
web/lib/graphql/Fragments/Blocks/Card.graphql
2024-09-24 09:47:31 +02:00

62 lines
1.0 KiB
GraphQL

#import "../System.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
fragment CardBlock on Card {
background_image
body_text
has_primary_button
has_secondary_button
has_sidepeek_button
heading
is_content_card
scripted_top_title
title
primary_button {
cta_text
is_contentstack_link
open_in_new_tab
external_link {
href
title
}
linkConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
}
}
}
}
secondary_button {
cta_text
is_contentstack_link
open_in_new_tab
external_link {
href
title
}
linkConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
}
}
}
}
sidepeek_button {
call_to_action_text
}
system {
...System
}
}