overleaf/services/web/frontend
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
..
fonts Merge pull request #7037 from overleaf/ii-5811-glyphs 2022-03-16 09:03:16 +00:00
js Refactor new plans page (#8493) 2022-06-23 08:02:56 +00:00
macros Merge pull request #4101 from overleaf/ae-settings-module 2021-07-08 02:08:28 +00:00
stories Merge pull request #8178 from overleaf/ta-settings-reconfirmation 2022-06-01 08:03:53 +00:00
stylesheets Refactor new plans page (#8493) 2022-06-23 08:02:56 +00:00
extracted-translations.json Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui 2022-06-22 08:05:14 +00:00
translations-loader.js