import { Box, chakra, Grid, Text } from '@chakra-ui/react'; import FramedImage from '@/components/FramedImage/FramedImage'; import type { Testimonial } from '@/content/types'; type TestimonialSlideProps = { testimonial: Testimonial; }; // One review (design .testimonial): framed photo next to a large quotation // mark, the shoot type, the quote and the names. Stacked below `lg`, with // the photo centred. export default function TestimonialSlide({ testimonial, }: TestimonialSlideProps) { return ( {/* Kept small and centred on phones and tablets, so the photo does not fill the screen above the quote */} {/* accent.deep instead of the design's accent: meets 4.5:1 (NFR-HP-01) */} {testimonial.shoot} {/* Plain elements, not Chakra's Blockquote: its slot recipe would pull shared code into the chunk the hero waits for */} {testimonial.quote} {testimonial.author} ); }