Redesigns the testimonials section
A landscape photo overlaps a card with the shoot type, quote and names. The controls are two arrows with an X / Y counter; the dots are gone and nothing moves by itself. A change slides the whole slide horizontally, also on a swipe. Reviews get an optional imagePosition for the crop, normalised by normalizeImagePosition; slideCounter writes the counter. Both helpers have property tests next to example tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,8 @@ const testimonials: Testimonial[] = [
|
||||
width: 880,
|
||||
height: 1100,
|
||||
},
|
||||
// The rings sit a little above the middle of the photo
|
||||
imagePosition: '50% 42%',
|
||||
},
|
||||
{
|
||||
id: 'demi-kevin',
|
||||
|
||||
Reference in New Issue
Block a user