import { Box } from '@chakra-ui/react'; import DeferredImage from '@/components/DeferredImage/DeferredImage'; import type { ContentImage } from '@/content/types'; type FramedImageProps = { image: ContentImage; // CSS aspect ratio of the visible crop, e.g. '4 / 3' aspectRatio: string; }; // A photo with a soft sand-coloured block offset behind its lower left // corner (design .about__media). The block is pure decoration (a CSS // pseudo-element), so assistive technology never announces it. On phones it // is left out, since it would stick out past the page edge. export default function FramedImage({ image, aspectRatio }: FramedImageProps) { return ( ); }