From e6ee50c11d3910b7d8a1c03444e3ac776659a53c Mon Sep 17 00:00:00 2001 From: Roo Code Date: Fri, 16 Jan 2026 06:58:59 +0000 Subject: [PATCH 1/5] feat: add Login and Sign Up buttons to docs header --- docusaurus.config.ts | 15 ++++++++++++++- src/constants.ts | 7 ++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 95d09f49..b3b62298 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -17,7 +17,9 @@ import { CAREERS_URL, WEBSITE_PRIVACY_URL, EXTENSION_PRIVACY_URL, - GITHUB_REPO_URL + GITHUB_REPO_URL, + SIGN_IN_URL, + SIGN_UP_URL } from './src/constants'; // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) @@ -329,6 +331,17 @@ const config: Config = { type: 'search', position: 'left', }, + { + label: 'Login', + href: SIGN_IN_URL, + position: 'right', + }, + { + label: 'Sign Up', + href: SIGN_UP_URL, + position: 'right', + className: 'button button--primary', + }, ], }, footer: { diff --git a/src/constants.ts b/src/constants.ts index 615715c3..60b71403 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -28,4 +28,9 @@ export const OPEN_VSX_URL = 'https://open-vsx.org/extension/RooVeterinaryInc/roo export const CONTACT_EMAIL = 'mailto:support@roocode.com'; 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`; \ No newline at end of file +export const EXTENSION_PRIVACY_URL = `${GITHUB_MAIN_REPO_URL}/blob/main/PRIVACY.md`; + +// Authentication links +export const APP_URL = 'https://app.roocode.com'; +export const SIGN_IN_URL = `${APP_URL}/sign-in`; +export const SIGN_UP_URL = `${APP_URL}/sign-up`; \ No newline at end of file From f7c0a4ebd712cf66c4777a0888cfd03e9482ab01 Mon Sep 17 00:00:00 2001 From: Bruno Bergher Date: Fri, 16 Jan 2026 11:30:44 +0000 Subject: [PATCH 2/5] Fixes things --- docusaurus.config.ts | 11 -------- src/components/GitHubInstallButtons/index.tsx | 26 ++++++++++++++++++- .../GitHubInstallButtons/styles.module.css | 15 +++++++++++ src/css/custom.css | 1 + src/theme/Navbar/Content/index.tsx | 1 + 5 files changed, 42 insertions(+), 12 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index b3b62298..5ecb2c44 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -331,17 +331,6 @@ const config: Config = { type: 'search', position: 'left', }, - { - label: 'Login', - href: SIGN_IN_URL, - position: 'right', - }, - { - label: 'Sign Up', - href: SIGN_UP_URL, - position: 'right', - className: 'button button--primary', - }, ], }, footer: { diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index 6dfb57f9..5b7585d3 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import { RxGithubLogo } from "react-icons/rx"; import { VscVscode } from "react-icons/vsc"; -import { GITHUB_MAIN_REPO_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants'; +import { GITHUB_MAIN_REPO_URL, SIGN_IN_URL, SIGN_UP_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants'; import styles from './styles.module.css'; // Number formatting function @@ -106,6 +106,30 @@ export default function GitHubInstallButtons(): React.JSX.Element { {stars && {stars}} + + + Log in + + + + + + Sign up + + + {/* Install Button */} Date: Fri, 16 Jan 2026 11:53:39 +0000 Subject: [PATCH 3/5] Update src/css/custom.css Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com> --- src/css/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index 346a3b6c..4547ab21 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -2073,7 +2073,6 @@ html { .button--secondary, .button--outline { background-color: transparent !important; - font-size: 400px; border: 1px solid hsl(var(--border) / 0.5) !important; color: hsl(var(--foreground)) !important; } From b6e3506f0cd604a362564ee4d099a12cef62c427 Mon Sep 17 00:00:00 2001 From: Bruno Bergher Date: Fri, 16 Jan 2026 11:53:47 +0000 Subject: [PATCH 4/5] Update src/theme/Navbar/Content/index.tsx Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com> --- src/theme/Navbar/Content/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/theme/Navbar/Content/index.tsx b/src/theme/Navbar/Content/index.tsx index 7aa2c167..c5409475 100644 --- a/src/theme/Navbar/Content/index.tsx +++ b/src/theme/Navbar/Content/index.tsx @@ -19,7 +19,6 @@ import GitHubInstallButtons from '@site/src/components/GitHubInstallButtons'; import NavbarSocialIcons from '@site/src/components/NavbarSocialIcons'; import styles from './styles.module.css'; -import { SIGN_IN_URL, SIGN_UP_URL } from '@site/src/constants'; function useNavbarItems() { // TODO temporary casting until ThemeConfig type is improved From 8adff965cf360d7ce78d6aaba91d2600c0f44f6d Mon Sep 17 00:00:00 2001 From: Bruno Bergher Date: Fri, 16 Jan 2026 11:53:55 +0000 Subject: [PATCH 5/5] Update src/components/GitHubInstallButtons/index.tsx Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com> --- src/components/GitHubInstallButtons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index 5b7585d3..bd23a9be 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -111,7 +111,7 @@ export default function GitHubInstallButtons(): React.JSX.Element { target="_blank" rel="noopener noreferrer" className={styles.secondaryButton} - title="Log into Roo Code CLoud" + title="Log into Roo Code Cloud" > Log in