2024-10-16 13:09:59 -04:00
|
|
|
mixin begin_now_card()
|
|
|
|
- var registerURL = '/register'
|
|
|
|
- var plansURL = '/user/subscription/plans'
|
|
|
|
- var isUserLoggedIn = !!getSessionUser()
|
2024-10-17 08:35:13 -04:00
|
|
|
|
|
|
|
.begin-now-card
|
|
|
|
div.card.card-pattern
|
|
|
|
.card-body
|
|
|
|
p.dm-mono
|
|
|
|
span.font-size-display-xs
|
|
|
|
span.text-purple-bright \begin
|
|
|
|
span.text-green-bright {
|
|
|
|
span now
|
|
|
|
span.text-green-bright }
|
|
|
|
p #{translate("discover_why_people_worldwide_trust_overleaf", {count: 18})}
|
2024-10-31 11:49:19 -04:00
|
|
|
p.card-links
|
2024-10-17 08:35:13 -04:00
|
|
|
if !isUserLoggedIn
|
|
|
|
a.btn.btn-primary.card-link(
|
|
|
|
href=registerURL
|
|
|
|
) #{translate("sign_up_for_free")}
|
2024-10-31 11:49:19 -04:00
|
|
|
a.btn.card-link(
|
|
|
|
class = isUserLoggedIn ? 'btn-primary' : 'btn-secondary'
|
2024-10-17 08:35:13 -04:00
|
|
|
href=plansURL
|
|
|
|
) #{translate("explore_all_plans")}
|