mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
* Rename _faq_new.pug to _faq.pug Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Add 2026 plans page FAQ templates Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Wire up quotes and FAQ section in plans_2026.pug Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Update styles, quote component, and translations for 2026 plans page Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix missing accordion icon wrapper in last FAQ item Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fixup: rename `.card-pattern-sides` back to `.card-pattern` * Create SASS placeholder and mixin Suggested by Tim * Fixup quote style * Update spacings to match Figma --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> GitOrigin-RevId: 2f4e284038d79157d2b029a967918077bb206032
56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
mixin quoteLargeTextCentered(quote, person, position, affiliation, link, pictureUrl)
|
||
blockquote.quote-large-text-centered
|
||
.quote !{quote}
|
||
if pictureUrl
|
||
.quote-img
|
||
- var pictureAlt = `Photo of ${person}`
|
||
img(src=pictureUrl alt=pictureAlt)
|
||
footer
|
||
.quote-person
|
||
strong #{person}
|
||
if person && position
|
||
div #{position}
|
||
if affiliation
|
||
div #{affiliation}
|
||
if link
|
||
.quote-link !{link}
|
||
|
||
mixin quoteLeftGreenBorder({quote, person, position, affiliation, link})
|
||
blockquote.quote-left-green-border
|
||
.quote !{quote}
|
||
footer
|
||
| #{person}
|
||
| #{position || affiliation ? ',' : ''}
|
||
| #{position}
|
||
| #{position && affiliation ? ' at ' : ''}
|
||
| #{affiliation}
|
||
if link
|
||
.quote-link !{link}
|
||
|
||
mixin collinsQuote1
|
||
.card.card-pattern-bottom
|
||
- var quote = 'Overleaf is indispensable for us. We use it in our research, thesis writing, project proposals, and manuscripts for publication. When it comes to writing, it’s our main tool.'
|
||
- var quotePerson = 'Christopher Collins'
|
||
- var quotePersonPosition = 'Associate Professor and Lab Director, Ontario Tech University'
|
||
- var quotePersonImg = buildImgPath('advocates/collins.jpg')
|
||
.card-body
|
||
+quoteLargeTextCentered(quote, quotePerson, quotePersonPosition, null, null, quotePersonImg)
|
||
|
||
mixin collinsQuote2
|
||
.card.card-pattern-bottom
|
||
- var quote = 'We are writing collaboratively right up until the last minute. We are faced with deadlines all the time, and Overleaf gives us the ability to polish right up until the last possible second.'
|
||
- var quotePerson = 'Christopher Collins'
|
||
- var quotePersonPosition = 'Associate Professor and Lab Director, Ontario Tech University'
|
||
- var quotePersonImg = buildImgPath('advocates/collins.jpg')
|
||
.card-body
|
||
+quoteLargeTextCentered(quote, quotePerson, quotePersonPosition, null, null, quotePersonImg)
|
||
|
||
mixin bennettQuote1
|
||
.card.card-pattern-bottom
|
||
- var quote = 'With Overleaf, we now have a process for developing technical documentation which has virtually eliminated the time required to properly format and layout documents.'
|
||
- var quotePerson = 'Andrew Bennett'
|
||
- var quotePersonPosition = 'Software Architect, Symplectic'
|
||
- var quotePersonImg = buildImgPath('advocates/bennett.jpg')
|
||
.card-body
|
||
+quoteLargeTextCentered(quote, quotePerson, quotePersonPosition, null, null, quotePersonImg)
|