From 39d5bdff4bc5600e65debeadc94a27b025dfd9bb Mon Sep 17 00:00:00 2001
From: David Hill
Date: Tue, 2 Dec 2025 17:06:37 +0000
Subject: [PATCH] fix: add docs button
---
packages/console/app/src/routes/index.css | 19 ++++++++
packages/console/app/src/routes/index.tsx | 55 ++++++++++++++---------
2 files changed, 52 insertions(+), 22 deletions(-)
diff --git a/packages/console/app/src/routes/index.css b/packages/console/app/src/routes/index.css
index 5cb91a6fb..92de172e1 100644
--- a/packages/console/app/src/routes/index.css
+++ b/packages/console/app/src/routes/index.css
@@ -617,6 +617,25 @@ body {
padding: var(--vertical-padding) var(--padding);
color: var(--color-text);
+ a {
+ background: var(--color-background-strong);
+ padding: 8px 12px 8px 20px;
+ color: var(--color-text-inverted);
+ border: none;
+ border-radius: 4px;
+ font-weight: 500;
+ cursor: pointer;
+ margin-top: 40px;
+ display: flex;
+ width: fit-content;
+ gap: 12px;
+ text-decoration: none;
+ }
+
+ a:hover {
+ background: var(--color-background-strong-hover);
+ }
+
ul {
padding: 0;
li {
diff --git a/packages/console/app/src/routes/index.tsx b/packages/console/app/src/routes/index.tsx
index b04fe5094..be8003edc 100644
--- a/packages/console/app/src/routes/index.tsx
+++ b/packages/console/app/src/routes/index.tsx
@@ -64,18 +64,6 @@ export default function Home() {
to
use other models, including Claude, GPT, Gemini and more.
- {/**/}
- {/* Read docs */}
- {/* */}
- {/* */}
- {/* */}
- {/* */}
Install and use. No account, no email, and no credit card.
@@ -179,52 +167,72 @@ export default function Home() {
What is OpenCode?
-
OpenCode is an open source agent that helps you write and run code directly from the terminal.
+
OpenCode is an open source agent that helps you write and run
+ code directly from the terminal.
[*]
- Native TUI A responsive, native, themeable terminal UI
+ Native TUI A responsive, native, themeable
+ terminal UI
[*]
- LSP enabled Automatically loads the right LSPs for the LLM
+ LSP enabled Automatically loads the right
+ LSPs for the LLM
[*]
- Multi-session Start multiple agents in parallel on the same project
+ Multi-session Start multiple agents in
+ parallel on the same project
[*]
- Share links Share a link to any session for reference or to debug
+ Share links Share a link to any session for
+ reference or to debug
[*]
- Claude Pro Log in with Anthropic to use your Claude Pro or Max account
+ Claude Pro Log in with Anthropic to use your
+ Claude Pro or Max account
[*]
- Any model 75+ LLM providers through Models.dev, including local models
+ Any model 75+ LLM providers through
+ Models.dev, including local models
[*]
- Any editor OpenCode runs in your terminal, pair it with any IDE
+ Any editor OpenCode runs in your terminal,
+ pair it with any IDE
+
+ Read docs
+
+
+
+
@@ -233,8 +241,11 @@ export default function Home() {
[*]
- With over {config.github.starsFormatted.full} GitHub stars,{" "}
- {config.stats.contributors} contributors, and almost{" "}
+ With
+ over {config.github.starsFormatted.full} GitHub
+ stars,{" "}
+ {config.stats.contributors} contributors, and
+ almost{" "}
{config.stats.commits} commits, OpenCode is used and trusted by over{" "}
{config.stats.monthlyUsers} developers every month.