Skip to content

Commit c92154b

Browse files
ahaywoodTobbe
andauthored
✨ Added Announcement Bar to Docs (#12015)
Added Announcement Bar to the Docs ![CleanShot 2025-03-31 at 13 58 02@2x](https://github.com/user-attachments/assets/b49cb95d-111f-47cf-bb34-07439fa9848e) --------- Co-authored-by: Tobbe Lundberg <[email protected]>
1 parent 2302312 commit c92154b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/docusaurus.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ const config: Config = {
3636
searchParameters: {},
3737
// externalUrlRegex: 'https://learn-redwood.netlify.app',
3838
},
39+
announcementBar: {
40+
id: 'sdk_announcement',
41+
content:
42+
'<a target="_blank" rel="noopener noreferrer" href="https://rwsdk.com" style="font-weight: bold;">RedwoodSDK is now available!</a>',
43+
backgroundColor: '#c4f482',
44+
textColor: '#000000',
45+
isCloseable: false,
46+
},
3947
navbar: {
4048
title: 'RedwoodJS',
4149
logo: {

0 commit comments

Comments
 (0)