From ac7d43851b7a56fd061829312d0c1cad939c9282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Krzemi=C5=84ski?= Date: Mon, 16 Feb 2026 12:22:11 +0100 Subject: [PATCH] fix: Raph Rover preorder info (#125) * chore: Remove raph preorder from docs * Remove `announcementBar` * Add Raph Rover banner --- docusaurus.config.ts | 6 +++--- src/css/custom.css | 5 ++--- src/products/raph-rover.mdx | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 8ecda010..ed213665 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -278,10 +278,10 @@ const config: Config = { additionalLanguages: ['bash', 'powershell', 'yaml', 'arduino'], }, announcementBar: { - id: 'announcementBar_work-in-progress', - content: `Leo Rover 1.9 is out! 🎉 Check out the release notes! Get yours: Developer kit | Assembled`, + id: `raph-rover-launch`, + content: `🚀 Raph Rover is here! Check out the new documentation and get your rover today! Learn more`, backgroundColor: '#c57b2c', - textColor: '#ffffff', + textColor: '#fff', isCloseable: true, }, } satisfies Preset.ThemeConfig, diff --git a/src/css/custom.css b/src/css/custom.css index d2a83c2b..a6d1f3de 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -96,10 +96,9 @@ html[data-theme='dark'] { mask-image: url('/icons/discord-icon.svg'); } -div[class^='announcementBar_'] { +.theme-announcement-bar { font-size: 20px; - font-weight: bold; - height: auto; + height: auto !important; } .video-container { diff --git a/src/products/raph-rover.mdx b/src/products/raph-rover.mdx index a6863ec4..3ae4b77b 100644 --- a/src/products/raph-rover.mdx +++ b/src/products/raph-rover.mdx @@ -1,10 +1,10 @@ import ProductPreview from '@site/src/components/ProductPreview';