Add new university info card in the new plans page (#8676)

GitOrigin-RevId: 7d9ec211930afc2536df36665d6cfc6f2cd7b46b
This commit is contained in:
M Fahru 2022-07-05 11:27:03 -04:00 committed by Copybot
parent f3118771fe
commit 6c7fd1dad0
5 changed files with 33 additions and 1 deletions

View file

@ -35,6 +35,8 @@ block content
i.fa.fa-cc-paypal.fa-2x(aria-hidden="true")  
span.sr-only Paypal accepted
include ./plans-marketing/v2/_university_info
include ./plans-marketing/_quotes
include ./plans-marketing/v2/_faq

View file

@ -0,0 +1,7 @@
.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')}
button.btn.plans-v2-btn-header.text-capitalize #{translate('show_your_support')}

View file

@ -1195,3 +1195,21 @@ p.plans-v2-table-discount-highlighted-text {
}
}
}
.plans-v2-university-info {
padding: @padding-lg @padding-xxl;
background-color: @ol-blue-gray-1;
border-radius: 20px;
p {
margin: 0;
}
button {
margin-top: @margin-md;
}
@media (max-width: @screen-xs-max) {
padding: @padding-lg;
}
}

View file

@ -143,6 +143,7 @@
@padding-md: 20px;
@padding-lg: 30px;
@padding-xl: 40px;
@padding-xxl: 50px;
@line-height-large: 1.33;
@line-height-small: 1.5;

View file

@ -1789,5 +1789,9 @@
"commons_plan_tooltip": "Youre on the __plan__ plan because of your affiliation with __institution__. Click to find out how you could benefit from Overleaf premium features!",
"trial_last_day": "This is the last day of your <b>Overleaf Premium</b> trial",
"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>."
"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.",
"show_your_support": "Show your support"
}