Files
AndreaSlopFotografie/web/src/lib/slideLabel.ts
T
SluijsensandClaude Opus 5.5 cb6a9b07f9 Adds the Lieve woorden section to the homepage
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>
2026-10-20 01:52:41 +02:00

6 lines
261 B
TypeScript

// Name of a review in the carousel and what is announced when it changes,
// e.g. "Review 2 van 3". index is zero-based (BR-REV-08, BR-REV-09).
export function slideLabel(index: number, count: number): string {
return `Review ${index + 1} van ${count}`;
}