feat: standardized page banners (#3610)

* feat: standardized site banners

* fix: lint issues

* fix: deduplicate SCSS with variant map

* feat: color shades + reduced scss

* feat: fix theming

* chore: Remove shades-generator.ts

* fix: lint issues

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Calum H.
2025-05-16 11:12:34 +01:00
committed by GitHub
parent f19643095e
commit e225bc9f66
6 changed files with 224 additions and 126 deletions

View File

@@ -344,35 +344,38 @@
"layout.avatar.alt": {
"message": "Your avatar"
},
"layout.banner.account-action": {
"message": "Account action required"
},
"layout.banner.add-email.button": {
"message": "Visit account settings"
},
"layout.banner.add-email.title": {
"message": "For security purposes, please enter your email on Modrinth."
},
"layout.banner.build-fail.description": {
"message": "This deploy of Modrinth's frontend failed to generate state from the API. This may be due to an outage or an error in configuration. Rebuild when the API is available. Error codes: {errors}; Current API URL is: {url}"
},
"layout.banner.build-fail.title": {
"message": "Error generating state from API when building."
"message": "Error generating state from API when building"
},
"layout.banner.staging.description": {
"message": "The staging environment is completely separate from the production Modrinth database. This is used for testing and debugging purposes, and may be running in-development versions of the Modrinth backend or frontend newer than the production instance."
},
"layout.banner.staging.title": {
"message": "Youre viewing Modrinths staging environment."
"message": "Youre viewing Modrinths staging environment"
},
"layout.banner.subscription-payment-failed.button": {
"message": "Update billing info"
},
"layout.banner.subscription-payment-failed.title": {
"message": "Your subscription failed to renew. Please update your payment method to prevent losing access."
"message": "Billing action required"
},
"layout.banner.subscription-payment-failed.description": {
"message": "One or more subscriptions failed to renew. Please update your payment method to prevent losing access!"
},
"layout.banner.verify-email.action": {
"message": "Re-send verification email"
},
"layout.banner.verify-email.title": {
"message": "For security purposes, please verify your email address on Modrinth."
"layout.banner.verify-email.description": {
"message": "For security reasons, Modrinth needs you to verify the email address associated with your account."
},
"layout.footer.about": {
"message": "About"