{# @description A picture of the person beside what they said, stacking to one column below the lg breakpoint. #} {# @prop name:text | description:"Who said it" #} {# @prop role:text | description:"What they do and where" #} {# @prop source:text | description:"The work it comes from" #} {# @prop href:text | description:"Where the source can be read" #} {# @prop src:text | description:"The picture. It is cropped to a portrait, four wide by five tall." #} {# @prop alt:text | description:"What the picture shows, for somebody who cannot see it. Leave empty when it adds nothing to the name." #} {# @prop reverse:boolean | default:False | description:"Swap the columns at wide widths. No effect once the block has stacked." #} {# @prop invert:boolean | default:False | description:"Light copy, for a dark background" #} {# @prop size:select['sm', 'md', 'lg'] | default:"md" | description:"How much vertical room the block takes" #} {# @prop class:text | description:"Extra classes on the outer section. A plain surface colour goes here." #} {# @slot Good tools get out of the way. — What was said. Write the quotation marks if you want them. #} {# @slot:background — A background block, rendered into a layer behind the words #} {# @slot:media — In place of the picture, when it is not a plain image: a video, a mockup, a card. #} {# @slot:logo — Above the words. The mark of the company the person speaks for. #} {% comment %} The figure is the words and their caption only. The picture sits beside it, because a caption has to be the first or last thing in its figure. {% endcomment %} {% if background %}{{ background }}{% endif %} {% if media %} {{ media }} {% elif src %} {{ alt }} {% endif %}
{% if logo %}
{{ logo }}
{% endif %}
{{ slot }}
{% if name or role or source %} {% endif %}