Răsfoiți Sursa

Improve new plans page university info styling and change its copy (#8822)

GitOrigin-RevId: ebb0e3677cce862f22757a5a7236591d98f39078
M Fahru 4 ani în urmă
părinte
comite
cc92f264d2

+ 3 - 5
services/web/app/views/subscriptions/plans-marketing/v2/_university_info.pug

@@ -1,10 +1,8 @@
 .row.row-spaced-large.text-centered
 	.col-sm-8.col-sm-offset-2.col-xs-12.card.plans-v2-university-info
-		h3 #{translate('would_you_like_to_see_a_university_subscription')}
-		.row-spaced
-		p #{translate('student_and_faculty_support')}
-		p #{translate('let_us_know_which_university_you_are_from')}
-		a.btn.plans-v2-btn-header.text-capitalize(
+		h3.plans-v2-university-info-header #{translate('would_you_like_to_see_a_university_subscription')}
+		p.plans-v2-university-info-text #{translate('student_and_faculty_support_make_difference')}
+		a.btn.plans-v2-btn-header.text-capitalize.plans-v2-btn-university-info(
 			target="_blank"
 			href="/for/support-an-overleaf-university-subscription"
 			event-tracking="plans-page-click"

+ 17 - 3
services/web/frontend/stylesheets/app/plans-v2.less

@@ -1206,14 +1206,28 @@ p.plans-v2-table-discount-highlighted-text {
   background-color: @ol-blue-gray-1;
   border-radius: 20px;
 
-  p {
-    margin: 0;
+  h3.plans-v2-university-info-header {
+    margin: 0 @margin-xl @margin-md @margin-xl;
   }
 
-  button {
+  p.plans-v2-university-info-text {
+    margin: 0 @margin-xl;
+  }
+
+  a.plans-v2-btn-university-info {
     margin-top: @margin-md;
   }
 
+  @media (max-width: @screen-sm-max) {
+    h3.plans-v2-university-info-header {
+      margin: 0 0 @margin-md 0;
+    }
+
+    p.plans-v2-university-info-text {
+      margin: 0;
+    }
+  }
+
   @media (max-width: @screen-xs-max) {
     padding: @padding-lg;
   }

+ 1 - 2
services/web/locales/en.json

@@ -1791,7 +1791,6 @@
   "trial_remaining_days": "__days__ more days on your <b>Overleaf Premium</b> trial",
   "get_most_subscription_by_checking_premium_features": "Get the most out of your __appName__ subscription by checking out the list of <0>__appName__’s premium features</0>.",
   "would_you_like_to_see_a_university_subscription": "Would you like to see a university-wide __appName__ subscription at your university?",
-  "student_and_faculty_support": "Student and faculty support make a difference!",
-  "let_us_know_which_university_you_are_from": "Let us know which university you are from and we will take care of the rest.",
+  "student_and_faculty_support_make_difference": "Student and faculty support make a difference! We can share this information with our contacts at your university when discussing an Overleaf institutional account.",
   "show_your_support": "Show your support"
 }