feat/BOOK-755 alert content pages

* feat(BOOK-755): Added alert block on Collection pages
* feat(BOOK-755): Added alert block on Content pages
* feat(BOOK-755): Added alert functionality for RTE

Approved-by: Bianca Widstam
This commit is contained in:
Erik Tiekstra
2026-01-28 07:47:49 +00:00
parent 0d357a116b
commit e87bb03c6f
22 changed files with 250 additions and 101 deletions

View File

@@ -12,9 +12,11 @@ import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
import { System } from "./System.graphql"
export const Alert = gql`
fragment Alert on Alert {
__typename
type
heading
text
@@ -76,6 +78,9 @@ export const Alert = gql`
}
}
visible_on
system {
...System
}
}
${AccountPageLink}
@@ -90,4 +95,5 @@ export const Alert = gql`
${LoyaltyPageLink}
${StartPageLink}
${PromoCampaignPageLink}
${System}
`