diff --git a/design/andreaslop-static/assets/css/style.css b/design/andreaslop-static/assets/css/style.css index 6287002..4f010c6 100644 --- a/design/andreaslop-static/assets/css/style.css +++ b/design/andreaslop-static/assets/css/style.css @@ -832,16 +832,6 @@ p:last-child { margin-bottom: 0; } .price-card .btn { align-self: center; margin-top: auto; } -/* Decoratieve illustraties uit het thema */ -.pricing__deco { - position: absolute; - z-index: 0; - width: clamp(90px, 10vw, 160px); - opacity: .55; - pointer-events: none; -} -.pricing__deco--1 { top: 8%; left: 2%; } -.pricing__deco--2 { bottom: 6%; right: 3%; } .pricing .container { position: relative; z-index: 1; } /* ========================================================================== diff --git a/design/andreaslop-static/assets/img/deco-1.png b/design/andreaslop-static/assets/img/deco-1.png deleted file mode 100644 index 7dcd336..0000000 Binary files a/design/andreaslop-static/assets/img/deco-1.png and /dev/null differ diff --git a/design/andreaslop-static/assets/img/deco-2.png b/design/andreaslop-static/assets/img/deco-2.png deleted file mode 100644 index fb3767a..0000000 Binary files a/design/andreaslop-static/assets/img/deco-2.png and /dev/null differ diff --git a/design/andreaslop-static/assets/img/manifest.txt b/design/andreaslop-static/assets/img/manifest.txt index d3f743f..f09786c 100644 --- a/design/andreaslop-static/assets/img/manifest.txt +++ b/design/andreaslop-static/assets/img/manifest.txt @@ -47,6 +47,4 @@ portfolio-8.jpg https://andreaslop.nl/wp-content/uploads/2026/04/F41A7284_websiz # --- Lieve woorden: hergebruikt hero-5.jpg (Trouwshoot) en portfolio-6.jpg (Newbornshoot) --- -# --- Decoratie prijzensectie --- -deco-1.png https://andreaslop.nl/wp-content/uploads/2020/01/landing-img-18.png -deco-2.png https://andreaslop.nl/wp-content/uploads/2020/01/h1-img-16.png +# --- Decoratie prijzensectie: weggelaten (themabeelden, licentie; zie docs/assets-and-licenses.md) --- diff --git a/design/andreaslop-static/index.html b/design/andreaslop-static/index.html index 4a75e3d..12cb002 100644 --- a/design/andreaslop-static/index.html +++ b/design/andreaslop-static/index.html @@ -181,8 +181,6 @@
- -
diff --git a/design/own-assets/twig-1.svg b/design/own-assets/twig-1.svg new file mode 100644 index 0000000..c7e9956 --- /dev/null +++ b/design/own-assets/twig-1.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/design/own-assets/twig-2.svg b/design/own-assets/twig-2.svg new file mode 100644 index 0000000..7298159 --- /dev/null +++ b/design/own-assets/twig-2.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/assets-and-licenses.md b/docs/assets-and-licenses.md index eacc839..1ade220 100644 --- a/docs/assets-and-licenses.md +++ b/docs/assets-and-licenses.md @@ -4,7 +4,11 @@ Where the images, icons and fonts of the site come from. Status "owner" means ma Last checked: 2026-11-15. -## Decorative twigs on the home page (to confirm: probably from the paid WordPress theme) +## Decorative twigs on the home page: removed (theme images, licence) + +Status 2026-11-15 (decision of Bryan): left out. `deco-1.png` and `deco-2.png` are removed from the site (Pricing section and the banner under the cards) and from the repo, including the copies in `design/andreaslop-static/assets/img` (with their `` tags, the `.pricing__deco` CSS and the manifest lines there). The reason is the licence below. Own replacements are kept in reserve and not built in: two SVG line drawings in the brand green, `design/own-assets/twig-1.svg` and `twig-2.svg` (drawn for this project, free of rights, not used by the site) and the options public-domain illustrations or a commissioned illustration. The site works without them: no empty space and no shifting (checked on desktop and phone, with and without banners). The earlier commits still contain the PNG files in the git history; they are not in the working tree or in any new build. + +The record of what they were: | File | Used by | Source recorded in the repo | | -------------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | diff --git a/docs/cms-integration.md b/docs/cms-integration.md index 083ec62..c030e5a 100644 --- a/docs/cms-integration.md +++ b/docs/cms-integration.md @@ -21,12 +21,12 @@ Source: `GET /api/v1/offerings`. One list feeds the price cards on the home page Source: `GET /api/v1/offerings/banner?position=top|bottom`. No parameter means `bottom`; `204` means no active banner; an invalid value is `400`. Answer fields: `title` (at most 100 characters), `text` (at most 300 for bottom, 120 for top), `linkLabel`, `linkUrl` (both or neither; `https://` or a path on the site with one `/`) and `position`. Both banners may be active and visible at the same time. -| | Under the cards (`bottom`) | Above the cards (`top`) | -| --------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| Component | `PriceBanner` | `PriceTopBar` | -| Look | Light band, thin heidegroen top rule, section-heading title, ornament, sprig, deep-green link button | Slim white bar, same hairline and top rule, one line: small capitals title, diamond, text, small underlined link | -| Required | title | title or text (title may be empty) | -| Mapping | `mapBanner` | `mapTopBanner` | +| | Under the cards (`bottom`) | Above the cards (`top`) | +| --------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| Component | `PriceBanner` | `PriceTopBar` | +| Look | Light band, thin heidegroen top rule, section-heading title, ornament, deep-green link button | Slim white bar, same hairline and top rule, one line: small capitals title, diamond, text, small underlined link | +| Required | title | title or text (title may be empty) | +| Mapping | `mapBanner` | `mapTopBanner` | Both follow the same rules as the packages: baked into the HTML at build time, replaced live after hydration, empty fields are hidden, an error or invalid answer keeps what was baked. A `204` hides that banner (the one deliberate exception to "keep what was baked"); the two banners are independent of each other. Neither banner is a package: not in the form choices, not in the package count. diff --git a/web/src/assets/home/deco-1.png b/web/src/assets/home/deco-1.png deleted file mode 100644 index 7dcd336..0000000 Binary files a/web/src/assets/home/deco-1.png and /dev/null differ diff --git a/web/src/assets/home/deco-2.png b/web/src/assets/home/deco-2.png deleted file mode 100644 index fb3767a..0000000 Binary files a/web/src/assets/home/deco-2.png and /dev/null differ diff --git a/web/src/components/home/Pricing/PriceBanner.tsx b/web/src/components/home/Pricing/PriceBanner.tsx index 59aa787..9ba9a78 100644 --- a/web/src/components/home/Pricing/PriceBanner.tsx +++ b/web/src/components/home/Pricing/PriceBanner.tsx @@ -1,6 +1,5 @@ import { Box, Heading, Text, useRecipe } from '@chakra-ui/react'; -import DeferredImage from '@/components/DeferredImage/DeferredImage'; -import type { ContentImage, PricingBanner } from '@/content/types'; +import type { PricingBanner } from '@/content/types'; // white: the white of the price cards; green: a very light heidegroen tint export type BannerTone = 'white' | 'green'; @@ -14,23 +13,19 @@ const TONES: Record = { type PriceBannerProps = { banner: PricingBanner; - // The eucalyptus sprig of the section, as a quiet corner decoration - decoration?: ContentImage; tone?: BannerTone; }; // The optional band under the price cards: an announcement from the CMS (an // offer, a notice), in the ASF look: light, a thin heidegroen rule on top, // the section-heading type (Marcellus in spaced capitals), a small ornament -// between title and text, the botanical sprig in a corner and, when there is -// a link, the deep-green button of the cards. It is not a bookable package +// between title and text and, when there is a link, the deep-green button of the cards. 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, - decoration, tone = 'white', }: PriceBannerProps) { const linkButton = useRecipe({ key: 'linkButton' }); @@ -54,20 +49,6 @@ export default function PriceBanner({ borderTopColor="accent" textAlign="center" > - {decoration && ( -