overleaf/services/web/app/views/_mixins/quote.pug
Jessica Lawshe cd9dc12059 Merge pull request #18683 from overleaf/jel-new-styles-quote
[web] New quote style for plans page and CMS pages using `Element | Quote`

GitOrigin-RevId: c4a089727f023d5d28a036c6babbdc773d7fc06a
2024-06-13 08:04:36 +00:00

15 lines
403 B
Text

mixin quoteLargeTextCentered(quote, person, position, affiliation, link, pictureUrl, pictureAltAttr)
blockquote.quote-large-text-centered
.quote !{quote}
if pictureUrl
.quote-img
img(src=pictureUrl alt=pictureAltAttr)
footer
div.quote-person
strong #{person}
if person && position
div #{position}
if affiliation
div #{affiliation}
if link
.quote-link !{link}