Merged in feat/sw-1493-revised-comparison-block (pull request #1236)
feat(SW-1493): Revised SAS comparison block * Base of new TierDetails for SAS tier comparison * Add backgrounds and content to TierDetails * Implement new cms schema for SasTierComparison * Override gap in jsontohtml styling to 0 * Add animations to comparison details * Redesign again * Update content model to new design * Add border to bottom item in tier match list * Wrap interpolate-size in @supports to be safe * Merge branch 'master' into feat/sw-1493-revised-comparison-block Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -22,34 +22,19 @@ export const sasTierComparisonSchema = z.object({
|
||||
node: z.object({
|
||||
title: z.string(),
|
||||
preamble: z.string().optional(),
|
||||
scandic_friends: z.object({
|
||||
title: z.string(),
|
||||
label: z.string(),
|
||||
tiers: z.array(
|
||||
z.object({
|
||||
tier_code: z.nativeEnum(MembershipLevelEnum),
|
||||
tier_label: z.string(),
|
||||
})
|
||||
),
|
||||
read_more_link: link.optional(),
|
||||
}),
|
||||
sas_eb: z.object({
|
||||
title: z.string(),
|
||||
label: z.string(),
|
||||
tiers: z.array(
|
||||
z.object({
|
||||
tier_code: z.enum([
|
||||
"Basic",
|
||||
"Silver",
|
||||
"Gold",
|
||||
"Diamond",
|
||||
"Pandion",
|
||||
]),
|
||||
tier_label: z.string(),
|
||||
})
|
||||
),
|
||||
read_more_link: link.optional(),
|
||||
}),
|
||||
scandic_column_title: z.string(),
|
||||
sas_column_title: z.string(),
|
||||
tier_matches: z.array(
|
||||
z.object({
|
||||
scandic_friends_tier_name: z.string(),
|
||||
sas_eb_tier_name: z.string(),
|
||||
title: z.string(),
|
||||
content: z.object({
|
||||
json: z.any(), // json
|
||||
}),
|
||||
link: link.optional(),
|
||||
})
|
||||
),
|
||||
cta: link.optional(),
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user