Skip to content

Commit af234ea

Browse files
feat: announcement bar for Juno being in maintenance
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent effb454 commit af234ea

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

docusaurus.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,14 @@ const config: Config = {
220220
}
221221
]
222222
},
223+
announcementBar: {
224+
id: "maintenance_bar",
225+
content:
226+
"Juno is in <b>maintenance</b> and not actively developed anymore.",
227+
isCloseable: false,
228+
backgroundColor: "var(--ifm-button-color)",
229+
textColor: "var(--ifm-button-background-color)"
230+
},
223231
footer: {
224232
style: "light",
225233
links: [

src/css/docusaurus.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ nav {
2121
font-size: var(--font-size-navbar);
2222
}
2323

24+
.theme-announcement-bar {
25+
margin: 0 0 0.5rem;
26+
border: 0;
27+
}
28+
2429
.main-wrapper {
2530
position: relative;
2631
}

0 commit comments

Comments
 (0)