Просмотр исходного кода

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
M Fahru 2 лет назад
Родитель
Сommit
b775f26024

+ 28 - 0
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;

+ 2 - 0
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__</0>",
   "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",