overleaf/services/web/app/views/subscriptions/plans-marketing
M Fahru 361f6f245a Refactor new plans page (#8493)
* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] hide the monthly/annual switch for small screens via css

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* [web] merge logic for hiding elements shown in a subset of view

Co-Authored-By: M Fahru <m.fahru@overleaf.com>

* fix inverted logic on monthly annual checking

* delete some duplicated logic and refactor

* merge switch functions

* move global variable into the main module

* simplify the enable and disable switch

* remove unused parseFloat

* simplify group plan pricing calculation

* simplify discount group plan logic

* simplify sticky header logic

* merge view and period switching

* fix underlining of switch text

* simplify class list toggling

* merging two function of the group plan

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 5e51690514bbf1dee2639011748c6a8470e1c19a
2022-06-23 08:02:56 +00:00
..
v2 Refactor new plans page (#8493) 2022-06-23 08:02:56 +00:00
_faq.pug Merge pull request #7888 from overleaf/td-em-let-us-know-link 2022-05-12 08:04:55 +00:00
_group_plan_modal.pug Change British spelling for "customise" and "personalise" to American spelling (#8475) 2022-06-21 08:03:04 +00:00
_mixins.pug Add annual saving tooltip & add a striked-through text on the annual price to current plans page 2022-05-12 10:41:11 +00:00
_quotes.pug Merge pull request #5117 from overleaf/jpa-plans-de-ng 2021-09-23 08:03:23 +00:00
_tables.pug [web] New Plans Page for A/B Test (#7330) 2022-05-13 08:03:30 +00:00