From 993065dbd44d54498d7399dfea255c87ea6c489f Mon Sep 17 00:00:00 2001 From: M Fahru Date: Tue, 30 Jul 2024 09:20:28 -0700 Subject: [PATCH] Merge pull request #19517 from overleaf/mf-overleaf-common-request-link Implement "request overleaf common" section in the student tab for plans new design GitOrigin-RevId: 5ef3987c0d877bee25a4b595c345c550370903d6 --- .../app/plans/plans-new-design.less | 28 +++++++++++++++++++ services/web/locales/en.json | 2 ++ 2 files changed, 30 insertions(+) diff --git a/services/web/frontend/stylesheets/app/plans/plans-new-design.less b/services/web/frontend/stylesheets/app/plans/plans-new-design.less index d9e2e1f89c..1a26512e8f 100644 --- a/services/web/frontend/stylesheets/app/plans/plans-new-design.less +++ b/services/web/frontend/stylesheets/app/plans/plans-new-design.less @@ -840,6 +840,14 @@ margin-top: var(--spacing-08); text-align: center; + &:last-child { + margin-bottom: var(--spacing-11); + } + + &:not(:last-child) { + margin-bottom: var(--spacing-08); + } + .plans-price-disclaimer-icons { display: flex; justify-content: center; @@ -848,6 +856,26 @@ } } +.plans-overleaf-common-request { + color: var(--neutral-90); + display: flex; + align-items: center; + justify-content: center; + margin: var(--spacing-04) var(--spacing-08); + text-align: center; + gap: var(--spacing-06); + + @media (max-width: @screen-xs-max) { + flex-direction: column; + margin: 0; + } + + a { + font-size: var(--font-size-02); + line-height: var(--line-height-02); + } +} + .plans-faq { .faq-heading-container { text-align: center; diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 1c73bd3bf5..29b3eddc1b 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1627,6 +1627,7 @@ "repository_name": "Repository Name", "republish": "Republish", "request_new_password_reset_email": "Request a new password reset email", + "request_overleaf_common": "Request Overleaf Commons", "request_password_reset": "Request password reset", "request_password_reset_to_reconfirm": "Request password reset email to reconfirm", "request_reconfirmation_email": "Request reconfirmation email", @@ -2264,6 +2265,7 @@ "viewing_x": "Viewing <0>__endTime__", "visual_editor": "Visual Editor", "visual_editor_is_only_available_for_tex_files": "Visual Editor is only available for TeX files", + "want_access_to_overleaf_premium_features_through_your_university": "Want access to __appName__ premium features through your university?", "want_change_to_apply_before_plan_end": "If you wish this change to apply before the end of your current billing period, please contact us.", "we_are_unable_to_opt_you_into_this_experiment": "We are unable to opt you into this experiment at this time, please ensure your organization has allowed this feature, or try again later.", "we_cant_confirm_this_email": "We can’t confirm this email",