plans.pug 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. extends ../layout
  2. include _plans_page_mixins
  3. include _plans_page_tables
  4. block vars
  5. - metadata = { viewport: true }
  6. block head-scripts
  7. script(type='text/javascript').
  8. window.recomendedCurrency = '#{recomendedCurrency}';
  9. window.abCurrencyFlag = '#{abCurrencyFlag}';
  10. window.groupPlans = !{StringHelper.stringifyJsonForScript(groupPlans)};
  11. block content
  12. .content.content-alt
  13. .container
  14. .user-notifications
  15. ul.list-unstyled(ng-cloak)
  16. li.notification-entry
  17. .alert.alert-info
  18. .notification-body
  19. span To help you work from home throughout 2020 and beyond, we're providing specially discounted annual plans.
  20. .notification-action
  21. a.btn.btn-sm.btn-info(href="https://www.overleaf.com/events/wfh2020") Upgrade
  22. .content-page
  23. .plans(ng-controller="PlansController")
  24. .container(ng-cloak)
  25. .row
  26. .col-md-12
  27. .page-header.centered.plans-header.text-centered
  28. h1.text-capitalize(ng-non-bindable) #{translate('get_instant_access_to')} #{settings.appName}
  29. .row
  30. .col-md-8.col-md-offset-2
  31. p.text-centered #{translate("sl_benefits_plans")}
  32. +allCardsAndControls()
  33. .row.row-spaced-large.text-centered
  34. .col-xs-12
  35. i.fa.fa-cc-mastercard.fa-2x(aria-hidden="true")  
  36. span.sr-only Mastercard accepted
  37. i.fa.fa-cc-visa.fa-2x(aria-hidden="true")  
  38. span.sr-only Visa accepted
  39. i.fa.fa-cc-amex.fa-2x(aria-hidden="true")  
  40. span.sr-only Amex accepted
  41. i.fa.fa-cc-paypal.fa-2x(aria-hidden="true")  
  42. span.sr-only Paypal accepted
  43. div.text-centered #{translate('change_plans_any_time')}<br/> #{translate('billed_after_x_days', {len:'{{trial_len}}'})}
  44. br
  45. div.text-centered #{translate('subject_to_additional_vat')}<br/> #{translate('select_country_vat')}
  46. .row.row-spaced-large
  47. .col-md-8.col-md-offset-2
  48. .card.text-centered
  49. .card-header
  50. h2 #{translate('looking_multiple_licenses')}
  51. span #{translate('reduce_costs_group_licenses')}
  52. br
  53. br
  54. a.btn.btn-default(
  55. href="#groups"
  56. ng-click="openGroupPlanModal()"
  57. ) #{translate('find_out_more')}
  58. .row.row-spaced-large
  59. .col-sm-12
  60. .page-header.plans-header.plans-subheader.text-centered
  61. h2 #{translate('compare_plan_features')}
  62. .row
  63. .col-md-6.col-md-offset-3
  64. +plan_switch('table')
  65. .col-md-3.text-right
  66. +currency_dropdown
  67. .row(event-tracking="features-table-viewed" event-tracking-ga="subscription-funnel" event-tracking-trigger="scroll" event-tracking-send-once="true" event-tracking-label=`exp-{{plansVariant}}`)
  68. .col-sm-12(ng-if="ui.view != 'student'")
  69. +table_premium
  70. .col-sm-12(ng-if="ui.view == 'student'")
  71. +table_student
  72. include _plans_quotes
  73. include _plans_faq
  74. #bottom-cards.row.row-spaced(style="display: none;")
  75. .col-sm-12
  76. +allCardsAndControls(true, 'bottom')
  77. .row.row-spaced-large
  78. .col-md-12
  79. .plans-header.plans-subheader.text-centered
  80. h2.header-with-btn #{translate('still_have_questions')}
  81. button.btn.btn-default.btn-header.text-capitalize(
  82. ng-controller="ContactGeneralModal"
  83. ng-click="openModal()"
  84. ) #{translate('get_in_touch')}
  85. != moduleIncludes("contactModalGeneral", locals)
  86. .row.row-spaced
  87. include _modal_group_purchase