From fd77a39843db9a526dad09487aac188e3f01831b Mon Sep 17 00:00:00 2001 From: Sluijsens Date: Thu, 12 Nov 2026 13:02:45 +0100 Subject: [PATCH] Gives the price banner the ASF look instead of a dark block Soft alternate paper tone with a hairline and a thin heidegroen rule on top, centred heading font and the deep-green button of the cards. Same function: title, optional text and button, empty fields left out. Co-Authored-By: Claude Sonnet 5.5 --- .../components/home/Pricing/PriceBanner.tsx | 62 +++++++++---------- 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/web/src/components/home/Pricing/PriceBanner.tsx b/web/src/components/home/Pricing/PriceBanner.tsx index 6ecce66..4264402 100644 --- a/web/src/components/home/Pricing/PriceBanner.tsx +++ b/web/src/components/home/Pricing/PriceBanner.tsx @@ -5,11 +5,14 @@ type PriceBannerProps = { banner: PricingBanner; }; -// The optional dark band under the price cards: an announcement from the CMS -// (an offer, a notice). It is not a bookable package and cannot be dismissed. -// Only the title is required; the text and the button are left out when empty. -// The link is a https address or a path on this site (the CMS guarantees -// that, mapBanner checks it again), so a plain anchor is enough. +// The optional band under the price cards: an announcement from the CMS (an +// offer, a notice). Soft and warm like the rest of the homepage: the +// alternate paper tone with a hairline, a thin heidegroen rule on top, the +// heading font and, when there is a link, the deep-green button of the cards' +// family. It is not a bookable package and cannot be dismissed. Only the +// title is required; the text and the button are left out when empty. The +// link is a https address or a path on this site (the CMS guarantees that, +// mapBanner checks it again), so a plain anchor is enough. export default function PriceBanner({ banner }: PriceBannerProps) { const linkButton = useRecipe({ key: 'linkButton' }); @@ -21,37 +24,32 @@ export default function PriceBanner({ banner }: PriceBannerProps) { mt="gridGap" px="clamp(1.5rem, 4vw, 3.5rem)" py="clamp(2rem, 4vw, 3rem)" - bg="ink" - color="white" - display="grid" - gap={{ base: 6, md: 10 }} - gridTemplateColumns={{ - base: '1fr', - md: banner.link ? '1fr auto' : '1fr', - }} - alignItems="center" + bg="paper.alt" + borderWidth="1px" + borderColor="line" + borderTopWidth="3px" + borderTopColor="accent" + textAlign="center" > - - - {banner.title} - - {banner.text && ( - - {banner.text} - - )} - + + {banner.title} + + {banner.text && ( + + {banner.text} + + )} {banner.link && (