mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
0c4ca15003
* Add `#main-content` to some pug pages This fixes our `skip-to-content` accessibility anchor links. Alternatively or additionally, we can set `suppressSkipToContent = true` in some pages: that will remove the anchor link in the page. While working on this, I noticed that sometimes we still have a bit of extra nesting or components that should maybe be out of `<main>` or `#main-content`. In a future PR we can maybe update these elements to target the "real core content" of the page. * Add `suppressSkipToContent` in confirm-email page GitOrigin-RevId: 6cbf4112f2d1a2d8eff06f142d0c2b4f3a5d9cff
43 lines
1.9 KiB
Text
43 lines
1.9 KiB
Text
extends ../layout-marketing
|
||
|
||
block content
|
||
.content.content-alt#main-content
|
||
.container.bonus
|
||
.row
|
||
.col-md-8.col-md-offset-2
|
||
.card
|
||
.container-fluid
|
||
.row
|
||
.col-md-10.col-md-offset-1
|
||
p.thanks The Overleaf Bonus Program has been discontinued.
|
||
p.thanks Please <a href="/contact">contact us</a> if you have any questions.
|
||
|
||
if (refered_user_count > 0)
|
||
.row.ab-bonus
|
||
.col-md-10.col-md-offset-1.bonus-banner(style="position: relative; height: 30px; margin-top: 20px;")
|
||
- for (var i = 0; i <= 10; i++) {
|
||
if (refered_user_count == i)
|
||
.number(style="left: "+i+"0%").active #{i}
|
||
else
|
||
.number(style="left: "+i+"0%") #{i}
|
||
- }
|
||
|
||
.row.ab-bonus
|
||
.col-md-10.col-md-offset-1.bonus-banner
|
||
.progress
|
||
.progress-bar.progress-bar-info(style="width: "+refered_user_count+"0%")
|
||
|
||
.row.ab-bonus
|
||
.col-md-10.col-md-offset-1.bonus-banner(style="position: relative; height: 110px;")
|
||
.perk(style="left: 10%;", class = refered_user_count >= 1 ? "active" : "") #{translate("one_free_collab")}
|
||
.perk(style="left: 30%;", class = refered_user_count >= 3 ? "active" : "") #{translate("three_free_collab")}
|
||
.perk(style="left: 60%;", class = refered_user_count >= 6 ? "active" : "") #{translate("free_dropbox_and_history")} + #{translate("three_free_collab")}
|
||
.perk(style="left: 90%;", class = refered_user_count >= 9 ? "active" : "") #{translate("free_dropbox_and_history")} + #{translate("unlimited_collabs")}
|
||
.row
|
||
|
||
.row.ab-bonus
|
||
.col-md-10.col-md-offset-1.bonus-banner.bonus-status
|
||
if (refered_user_count == 1)
|
||
p.thanks You’ve introduced <strong>1</strong> person to #{settings.appName}.
|
||
else
|
||
p.thanks You’ve introduced <strong>#{refered_user_count}</strong> people to #{settings.appName}.
|