Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import {
CAREERS_URL,
WEBSITE_PRIVACY_URL,
EXTENSION_PRIVACY_URL,
GITHUB_REPO_URL
GITHUB_REPO_URL,
TEAMS_PROMO_URL
} from './src/constants';

// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
Expand Down Expand Up @@ -292,6 +293,13 @@ const config: Config = {
{property: 'og:type', content: 'website'},
{property: 'og:locale', content: 'en_US'},
],
announcementBar: {
id: 'teams-early-access-2025-09-2',
content: `Ship Faster with Roo Code Teams. <a href="${TEAMS_PROMO_URL}" target="_blank" rel="noopener noreferrer">Get early access now.</a>`,
backgroundColor: 'var(--roo-announcement-bar-bg)',
textColor: '#ffffff',
isCloseable: true,
},
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
Expand Down
5 changes: 4 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ export const OPEN_VSX_URL = 'https://open-vsx.org/extension/RooVeterinaryInc/roo
export const CONTACT_EMAIL = 'mailto:[email protected]';
export const CAREERS_URL = 'https://careers.roocode.com';
export const WEBSITE_PRIVACY_URL = 'https://roocode.com/privacy';
export const EXTENSION_PRIVACY_URL = `${GITHUB_MAIN_REPO_URL}/blob/main/PRIVACY.md`;
export const EXTENSION_PRIVACY_URL = `${GITHUB_MAIN_REPO_URL}/blob/main/PRIVACY.md`;

// Marketing / promo links
export const TEAMS_PROMO_URL = 'https://app.roocode.com/l/teams?utm_source=docs&utm_medium=banner&utm_campaign=teams_promo';
19 changes: 19 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/* Light mode color system */
:root {
--roo-announcement-bar-bg: #375497;
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
Expand Down Expand Up @@ -2332,4 +2333,22 @@ html {
/* Ensure consistent spacing for all tutorial video links */
.menu__list-item:has(> a[href^="https://www.youtube.com/watch"]) {
margin-bottom: 0 !important;
}
/* Announcement bar close "X" color override: ensure the close icon is white on all themes */
.theme-announcement-bar [aria-label="Close"] {
color: #ffffff !important; /* Icon inherits currentColor */
opacity: 1 !important;
}

.theme-announcement-bar [aria-label="Close"] svg,
.theme-announcement-bar [aria-label="Close"] path,
.theme-announcement-bar [aria-label="Close"] g {
color: #ffffff !important;
fill: #ffffff !important;
stroke: #ffffff !important;
}

.theme-announcement-bar [aria-label="Close"]:hover {
color: #ffffff !important;
opacity: 1 !important;
}
1 change: 1 addition & 0 deletions src/theme/DocBreadcrumbs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default function DocBreadcrumbs(): ReactNode {
return null;
}


return (
<>
<DocBreadcrumbsStructuredData breadcrumbs={breadcrumbs} />
Expand Down
5 changes: 5 additions & 0 deletions src/theme/DocBreadcrumbs/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
margin: 0;
flex: 1;
}