BS5 Migrations CMS - Adding the pattern card at the end of the blog page (#20739)

* adding existing pattern card content and styling with commented code to avoid breaking the compiler

* removing extra styling that is not needed

* using variables

* removing event segmentation and adding URLs

* adding a translation for tthe ext

* adding a translation for explore_all_plans

* adding translation sign_up_for_free

* adding the card on blog post page

* adding card-body to match BS5 and removing extra padding from .cta-card

* adding p and removing margin from .font-size-display-xs

* removing cta-card-text class

* removing margin-top from responsive-button-container and adding the usage of .p-no-text-nodes with p

* removing gap and margin responsive-button-container

* removing extra padding

* adding font-size and line-height to match figma design

* changing the breakpoint to lg

* removing important keyword

* making explore plans button as primary and hiding signup button when user is logged in

* removing responsive-button-container

* adding count variable in the translation

* moving font-size-display-xs one level lower

* adding span under p

GitOrigin-RevId: a1a16d46a725b547bda6e452ff1c7bef05964690
This commit is contained in:
Davinder Singh 2024-10-07 09:47:29 +01:00 committed by Copybot
parent 8a31146d02
commit d61997373f
2 changed files with 11 additions and 0 deletions

View file

@ -471,6 +471,14 @@
}
}
.card-pattern.cta-card {
.font-size-display-xs {
@include media-breakpoint-down(lg) {
font-size: var(--font-size-08);
}
}
}
.contact-form-error-container {
padding-bottom: var(--spacing-08);
}

View file

@ -458,6 +458,7 @@
"disabling": "Disabling",
"disconnected": "Disconnected",
"discount_of": "Discount of __amount__",
"discover_why_people_worldwide_trust_overleaf": "Discover why __count__ million people worldwide trust Overleaf with their work.",
"dismiss_error_popup": "Dismiss first error alert",
"display_deleted_user": "Display deleted users",
"do_not_have_acct_or_do_not_want_to_link": "If you dont have an <b>__appName__</b> account, or if you dont want to link to your <b>__institutionName__</b> account, please click <b>__clickText__</b>.",
@ -609,6 +610,7 @@
"expires_in_days": "Expires in __days__ days",
"expires_on": "Expires: __date__",
"expiry": "Expiry Date",
"explore_all_plans": "Explore all plans",
"export_csv": "Export CSV",
"export_project_to_github": "Export Project to GitHub",
"failed_to_send_group_invite_to_email": "Failed to send Group invite to <0>__email__</0>. Please try again later.",
@ -1872,6 +1874,7 @@
"showing_x_results": "Showing __x__ results",
"showing_x_results_of_total": "Showing __x__ results of __total__",
"sign_up": "Sign up",
"sign_up_for_free": "Sign up for free",
"sign_up_for_free_account": "Sign up for a free account and receive regular updates",
"simple_search_mode": "Simple search",
"single_sign_on_sso": "Single Sign-On (SSO)",