Skip to content

Commit

Permalink
feat: add release bar (#1849)
Browse files Browse the repository at this point in the history
* feat: add release bar

* update banner msg

* minor edit to banner copy

---------

Co-authored-by: Josh Ford <thisisjoshford@gmail.com>
  • Loading branch information
gagdiez and thisisjoshford authored Mar 27, 2024
1 parent 3f6d216 commit 253c423
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
8 changes: 8 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ const config = {
],
],
themeConfig: {
announcementBar: {
id: 'abstraction',
content:
'⛓️ <a href="/concepts/abstraction/chain-signatures">Chain Signatures</a> ⛓️ - Sign and send transactions on Bitcoin, Ethereum, and more! 🔑 ',
backgroundColor: '#fafbfc',
textColor: '#333',
isCloseable: true,
},
prism: {
additionalLanguages: [
'rust',
Expand Down
19 changes: 14 additions & 5 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -451,12 +451,21 @@ https://www.feelback.dev/docs/guides/stripe-like-documentation-feedback-for-docu
@import "@feelback/react/styles/feelback.css";

.feelback-container .feelback-btn {
background-color: #1a8870;
color: white;
background-color: #1a8870;
color: white;
}

.feelback-container textarea {
border: 1px solid #ccc;
border-radius: 4px;
padding: 0.5rem;
border: 1px solid #ccc;
border-radius: 4px;
padding: 0.5rem;
}

/* Announcement bar */
div[class^="announcementBar_"] {
--site-announcement-bar-stripe-color1: #ddfde1;
--site-announcement-bar-stripe-color2: #c4fbe6;
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;
}

0 comments on commit 253c423

Please sign in to comment.