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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user