From d8c6a2aae0759bb60befc2f04ae0d1ebd4676243 Mon Sep 17 00:00:00 2001 From: gagdiez Date: Fri, 4 Oct 2024 14:44:03 +0200 Subject: [PATCH] feat: added banner --- website/docusaurus.config.js | 6 +++--- website/src/css/custom.scss | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 06d95ef89aa..62a8bb7bbfc 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -90,10 +90,10 @@ const config = { themeConfig: { image: 'docs/assets/welcome-pages/protocol.png', announcementBar: { - id: 'id-0007', + id: 'id-0008', content: - '🎉 New Documentation on Smart Contracts: Yield and Resume 🎉', - backgroundColor: '#fafbfc', + '🎉 Ethereum Wallets are here! Read more in our blogpost and check our tutorial to update your app 🎉', + backgroundColor: '#fcfbfa', textColor: '#333', isCloseable: true, }, diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index a6e2899ba8b..c272837c3fa 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -416,8 +416,8 @@ https://www.feelback.dev/docs/guides/stripe-like-documentation-feedback-for-docu /* Announcement bar */ div[class^="announcementBar_"] { - --site-announcement-bar-stripe-color1: #ddfdfd; - --site-announcement-bar-stripe-color2: #cbe3fd; + --site-announcement-bar-stripe-color1: #e9ddfd; + --site-announcement-bar-stripe-color2: #ffeac3; background: repeating-linear-gradient(45deg, var(--site-announcement-bar-stripe-color1), var(--site-announcement-bar-stripe-color1) 20px, var(--site-announcement-bar-stripe-color2) 10px, var(--site-announcement-bar-stripe-color2) 40px); font-size: 16px; font-weight: 600;