Skip to content

Commit

Permalink
feat: added banner
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed Oct 4, 2024
1 parent 9732a4b commit d8c6a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: <a href="/build/smart-contracts/anatomy/yield-resume">Yield and Resume</a> πŸŽ‰',
backgroundColor: '#fafbfc',
'πŸŽ‰ Ethereum Wallets are here! Read more in our <a href="/blog/hello-ethereum-wallets">blogpost</a> and check our <a href="/tools/ethereum-wallets">tutorial to update your app</a> πŸŽ‰',
backgroundColor: '#fcfbfa',
textColor: '#333',
isCloseable: true,
},
Expand Down
4 changes: 2 additions & 2 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d8c6a2a

Please sign in to comment.