Skip to content

Commit 43bc13c

Browse files
committed
chore: new survey in announcement bar
1 parent 3bd1a33 commit 43bc13c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

docusaurus/docusaurus.config.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ const config: Config = {
9393

9494
themeConfig: {
9595
announcementBar: {
96-
backgroundColor: "#c5e7fc",
9796
content:
98-
'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 🙏',
97+
'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 🙏',
9998
},
10099
navbar: {
101100
logo: {

docusaurus/src/css/custom.css

+12
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@ li {
9999
cursor: unset;
100100
}
101101

102+
div[class^='announcementBar_'] {
103+
font-size: 20px;
104+
background: repeating-linear-gradient(
105+
35deg,
106+
#c5e7fc,
107+
#c5e7fc 20px,
108+
#fcf5c5 10px,
109+
#fcf5c5 40px
110+
);
111+
font-weight: bold;
112+
}
113+
102114
/* Sidebar */
103115

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

0 commit comments

Comments
 (0)