[web] Add the Back to School group sale banner to the plans page (#36956)

* [web] Add the Back to School group sale banner to the plans page

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitOrigin-RevId: 596b23006fce7504fcdfd6341cf93429c08acc8b
This commit is contained in:
Thomas
2026-09-17 12:08:14 +00:00
committed by Copybot
co-authored by Claude Opus 5
parent bd8dbe3f11
commit 60531d63b7
2 changed files with 4 additions and 4 deletions
@@ -12,7 +12,7 @@ mixin notificationIcon(type)
+material-symbol('warning') +material-symbol('warning')
mixin notification(options) mixin notification(options)
- var {ariaLive, id, type, title, content, disclaimer, className, dismissId, dismissCookiePaths} = options ?? {} - var {ariaLive, id, type, title, content, action, disclaimer, className, dismissId, dismissCookiePaths, isActionBelowContent} = options ?? {}
- var classNames = `notification notification-type-${type} ${className ? className : ''} ${isActionBelowContent ? 'notification-cta-below-content' : ''}` - var classNames = `notification notification-type-${type} ${className ? className : ''} ${isActionBelowContent ? 'notification-cta-below-content' : ''}`
if dismissId && dismissedNotifications.includes(dismissId) if dismissId && dismissedNotifications.includes(dismissId)
@@ -35,9 +35,8 @@ mixin notification(options)
b #{title} b #{title}
| !{content} | !{content}
block block
//- TODO: handle action if action
//- if action .notification-cta !{action}
//- .notification-cta
if disclaimer if disclaimer
.notification-disclaimer #{disclaimer} .notification-disclaimer #{disclaimer}
if dismissId if dismissId
+1
View File
@@ -272,6 +272,7 @@
"back_to_log_in": "Back to log in", "back_to_log_in": "Back to log in",
"back_to_my_projects": "Back to my projects", "back_to_my_projects": "Back to my projects",
"back_to_pdf": "Back to PDF", "back_to_pdf": "Back to PDF",
"back_to_school_group_sale_plans_page_banner": "<0>Back to School sale:</0> Groups at degree-granting institutions can save an additional 20% on new Standard and Pro subscriptions of 20+ users. Get in touch with our sales team by <1>October 15</1>.",
"back_to_subscription": "Back to subscription", "back_to_subscription": "Back to subscription",
"back_to_your_projects": "Back to your projects", "back_to_your_projects": "Back to your projects",
"basic": "Basic", "basic": "Basic",