Skip to content

Commit

Permalink
chore: new survey in announcement bar
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Dec 11, 2024
1 parent 3bd1a33 commit 43bc13c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docusaurus/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ const config: Config = {

themeConfig: {
announcementBar: {
backgroundColor: "#c5e7fc",
content:
'Please answer <a target="_blank" rel="noopener noreferrer" href="https://docs.google.com/forms/d/e/1FAIpQLScyX464Zjz_bRsRmS-xp5ISiheTDWGZTwkptmtirXkBFn761Q/viewform?usp=sf_link">one question</a> about code coverage 🙏',
'Please answer <a target="_blank" rel="noopener noreferrer" href="https://docs.google.com/forms/d/e/1FAIpQLSdhqElxupHqFANRQlv-O55ilx-NoJrNP1F5KzRDcxd7ldLMEg/viewform?usp=sf_link">one question</a> about Test Prediction 🙏',
},
navbar: {
logo: {
Expand Down
12 changes: 12 additions & 0 deletions docusaurus/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@ li {
cursor: unset;
}

div[class^='announcementBar_'] {
font-size: 20px;
background: repeating-linear-gradient(
35deg,
#c5e7fc,
#c5e7fc 20px,
#fcf5c5 10px,
#fcf5c5 40px
);
font-weight: bold;
}

/* Sidebar */

.theme-doc-sidebar-item-category-level-1 > div > a {
Expand Down

0 comments on commit 43bc13c

Please sign in to comment.