Merge pull request #18883 from overleaf/jel-eyebrow-text

[web] Add mixin for eyebrow headline

GitOrigin-RevId: 992acd11e6c22c35499329bb53917a2b1ac79ac5
This commit is contained in:
Davinder Singh 2024-06-13 15:09:53 +01:00 committed by Copybot
parent 9ff03e9245
commit 05c0cbfd6d
2 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1,5 @@
mixin eyebrow(text)
span.mono-text
span(aria-hidden) {
span #{text}
span(aria-hidden) }

View file

@ -1,5 +1,6 @@
extends ../layout-website-redesign
include ../_mixins/quote
include ../_mixins/eyebrow
block vars
- entrypoint = 'pages/user/subscription/plans-v2/plans-v2-main'
@ -28,10 +29,7 @@ block content
.row
.col-md-12
h1.text-centered
span.mono-text
span.aria-hidden {
span #{translate('plans_and_pricing_lowercase')}
span.aria-hidden }
+eyebrow(translate('plans_and_pricing_lowercase'))
| #{translate('choose_your_plan')}
include ./plans/_cards_controls_tables