diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 224d1114e9..5836408c5a 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -51,7 +51,7 @@ const config: Config = { tagName: 'script', attributes: {}, innerHTML: `try { - if (window.localStorage.getItem('code-genome-project-announcement-dismissed') === 'true') { + if (window.localStorage.getItem('ai-software-factory-27-announcement-dismissed') === 'true') { document.documentElement.setAttribute('data-notice-bar-dismissed', 'true'); } } catch (e) {}`, diff --git a/src/theme/AnnouncementBar/index.tsx b/src/theme/AnnouncementBar/index.tsx index e04ab7db36..808caf0fc7 100644 --- a/src/theme/AnnouncementBar/index.tsx +++ b/src/theme/AnnouncementBar/index.tsx @@ -6,7 +6,7 @@ import styles from './styles.module.css'; // Mirrored by the head script in docusaurus.config.ts, which sets these attributes before // hydration so nothing flashes. The key is specific to this notice, so new copy re-shows // the bar to everyone. -const NOTICE_BAR_STORAGE_KEY = 'code-genome-project-announcement-dismissed'; +const NOTICE_BAR_STORAGE_KEY = 'ai-software-factory-27-announcement-dismissed'; const NOTICE_BAR_DISMISSED_ATTRIBUTE = 'data-notice-bar-dismissed'; /** @@ -60,12 +60,14 @@ function NoticeAnnouncementBar({onClose}: {onClose: () => void}): JSX.Element {
- Recipes are moving from Maven Central to the Code Genome - Project.{' '} - - Configure access - {' '} - to keep releases resolving. + Using OpenRewrite at work? Become an expert with hands-on training, + roundtables, and more at AI Software Factory Summit, + Feb. 22-24 in Miami. Save 50% on your pass with code{' '} + REWRITE50.{' '} + + Register Now + + .