Retro-thema (2006): pakketkaarten gecentreerd per rij, requirements en audit bijgewerkt
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
- **FR-7** The packages block works with any number of packages from `/api/v1/offerings` (Q6-A). Skeleton count and grid are no longer hard-coded to 3.
|
||||
- **FR-8** Filter chips (category + count, e.g. Alles/Websites/Onderhoud) appear from **4 packages** on. Category is a **new field in the API** (`category`, the category name), a CMS/API change handed to the CMS builder. Categories are **managed in the CMS** (sub-section of the Offerings admin), not in settings; Bryan starts with *Websites* and *Onderhoud* (decision 2026-11-09, revised; earlier example values Websites/Software/Beheer were only placeholders). Mock data for 6 packages in tests uses these names.
|
||||
- **FR-9** A "Past er niets bij? / Maatwerk" banner always stays below the cards.
|
||||
- **FR-9a (owner change 2026-11-14)** The CMS **OfferingBanner** has a **position**: `top` (slim bar above the cards, one line of text, max 120 characters, title optional) or `bottom` (current banner below the cards). Both can be shown at the same time; at most one active banner per position. API: `GET /api/v1/offerings/banner?position=top|bottom` (no parameter = bottom; 204 when none; 400 when invalid). Admin: **one list of banners** with a "Locatie" (Boven/Onder) field in the create/edit form (not separate tabs; owner request 2026-11-15, built by the CMS session). Applies to SLP Software and Andrea Slop Fotografie.
|
||||
- **FR-9b (owner change 2026-11-14)** On desktop/tablet **every row** of package cards is centered (flex-wrap, centered), not only the last one, so 1, 2, 4, 5, 7 ... packages all look balanced; 3 columns above 1000px, 2 columns up to 1000px.
|
||||
- **FR-10** On mobile the cards form a **horizontal swipe row** (CSS scroll-snap) for any number of packages (Q7-A): ~85% card width so the next card peeks, dot indicator, the featured package first in view; grid on tablet/desktop (3 columns, 2 columns at ≤1000px). Must be keyboard and screen-reader usable and not depend on JavaScript for scrolling.
|
||||
- **FR-11** Content for the four additional packages (Webshop, CMS, Koppelingen & API's, Onderhoud) is **out of scope**; layout is built generically and tested with mock data of 6 packages (Q8-A).
|
||||
- **FR-12** Both B and E have their own styling of the packages block (B: square chips and cards; E: 2006 glossy tabs and cards), light and dark.
|
||||
|
||||
Reference in New Issue
Block a user