Lets the price banner work with empty fields

Only the banner title is required; description, price, price note, features
and the button label are left out when empty (the button then says Neem contact
op).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-12 09:42:35 +01:00
co-authored by Claude Sonnet 5.5
parent 4cae76b21d
commit f9180f231f
5 changed files with 74 additions and 21 deletions
+4 -3
View File
@@ -103,11 +103,12 @@ export interface PricingPackage {
// The one optional banner under the price cards (an offering with
// layout=banner in the CMS). It is not a bookable package: it is not in the
// form's choices and not in the package count. The price is free text.
// form's choices and not in the package count. The price is free text. Only
// the title is required; the banner hides what is empty.
export interface PricingBanner {
title: string;
description: string;
priceText: string;
description?: string;
priceText?: string;
priceNote?: string;
features: string[];
ctaLabel?: string;