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:
@@ -882,3 +882,11 @@
|
||||
**Context**: U6 / ASF packages.
|
||||
|
||||
---
|
||||
|
||||
## Banner positions, centered rows, logo, CMS theme (owner changes)
|
||||
**Timestamp**: 2026-11-14 / 2026-11-15
|
||||
**User Input**: "ik wil dat je moet aangeven of de banner boven of onder moet staan ... alle rijen gecentreerd"; "Kan je niet gewoon 1 manier toevoegen voor banners ... optie veld met boven of onder ... 1 lijst"; "SLP Software logo ... eigen thema voor het cms"; "De eerste keer dark en light theme switchen doet niks"; "zorg dat in alle workspaces de juiste documentatie wordt gemaakt of aangepast"
|
||||
**AI Response**: Recorded FR-9a (banner position top/bottom, one admin list with Locatie field) and FR-9b (all card rows centered). Logo option 3 chosen (favicon, OG image). CMS session asked to build the single banner list, an SLP CMS theme with logo, the theme-switch first-click fix, and to update its own docs; ASF session asked to update its docs. Deployed to TEST only (SLP run 109, CMS run 107, ASF run 94); nothing to production or master.
|
||||
**Context**: U6 / cross-site CMS work, outside the standard AI-DLC flow.
|
||||
|
||||
---
|
||||
|
||||
@@ -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