Shows client reviews one at a time with the framed photo, a large quotation mark, the shoot type and the names. Uses Chakra's carousel for paging, looping and swiping with our own controls, so visitors who prefer reduced motion get instant changes, and loads the carousel only when the section comes near the screen so the hero does not wait for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.2 KiB
2.2 KiB
Domain Entities — Unit 4: Lieve woorden
Relationships
graph TD
List["Testimonial list"]
Item["Testimonial"]
Image["ContentImage"]
Slide["Carousel slide"]
List -->|"contains, in display order"| Item
Item -->|"has one photo"| Image
Item -->|"shown as"| Slide
classDef entity fill:#2196F3,stroke:#0d47a1,stroke-width:1px,color:#000;
classDef value fill:#FF9800,stroke:#e65100,stroke-width:1px,color:#000;
classDef ui fill:#9ae6b4,stroke:#2f855a,stroke-width:1px,color:#000;
class List,Item entity;
class Image value;
class Slide ui;
Text alternative: the testimonial list holds testimonials in display order; each has one photo and is shown as one carousel slide (blue = data, orange = value, green = UI).
Testimonial
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Stable, unique key (e.g. majella-mark) |
shoot |
string | yes | Shoot type as a label (e.g. "Trouwshoot") |
quote |
string | yes | The review text, without quotation marks (the design adds a decorative one) |
author |
string | yes | Names as they should appear (e.g. "Majella & Mark") |
image |
ContentImage | yes | Photo for the review, with alt text and size |
Invariants
idunique within the list.shoot,quoteandauthornon-empty after trimming.image.srcnon-empty;image.widthandimage.heightpositive.- List order is the display order.
Testimonials that break an invariant are skipped; of two with the same id the first is kept (same approach as packages and socials).
Initial data (live site, 2026-10-19)
| id | shoot | author | quote (start) | photo |
|---|---|---|---|---|
majella-mark |
Trouwshoot | Majella & Mark | "Super mooie foto's door Andrea gemaakt op onze trouwdag en pré-wedding shoot. …" | live IMG_2497-5.jpg (rings), alt "Bruidegom schuift de trouwring om de vinger van de bruid" |
demi-kevin |
Newbornshoot | Demi & Kevin | "Heel tevreden met de newbornshoot. …" | live 5-F41A4650-scaled.jpg (baby's fist), alt "Vuistje van een pasgeboren baby tussen gebreide dekens" |
Full texts: requirements FR-HP-05.
Section content (HomeContent.testimonials)
| Field | Value |
|---|---|
title |
"Lieve woorden" |