feat(SW-3061): Added block for all campaigns
Approved-by: Matilda Landström
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#import "../CampaignPage/Ref.graphql"
|
||||
|
||||
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
heading
|
||||
preamble
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on CampaignPage {
|
||||
url
|
||||
card_content {
|
||||
heading
|
||||
image
|
||||
text
|
||||
}
|
||||
system {
|
||||
locale
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user