summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2025-12-02 17:06:54 +0000
committerDavid Hill <[email protected]>2025-12-02 17:06:54 +0000
commit28c44f7e5a23f5fb833cfe88df0a1863541cd579 (patch)
tree0725ec5984b4b51455910afdce0f79b7eb2b7128 /packages
parent39d5bdff4bc5600e65debeadc94a27b025dfd9bb (diff)
parentb9f8480b2fdf28594e364fe78c8485158127a097 (diff)
downloadopencode-28c44f7e5a23f5fb833cfe88df0a1863541cd579.tar.gz
opencode-28c44f7e5a23f5fb833cfe88df0a1863541cd579.zip
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'packages')
-rw-r--r--packages/console/app/src/routes/index.tsx32
1 files changed, 11 insertions, 21 deletions
diff --git a/packages/console/app/src/routes/index.tsx b/packages/console/app/src/routes/index.tsx
index be8003edc..baa3863ee 100644
--- a/packages/console/app/src/routes/index.tsx
+++ b/packages/console/app/src/routes/index.tsx
@@ -53,21 +53,16 @@ export default function Home() {
<div data-component="content">
<section data-component="hero">
<div data-slot="hero-copy">
- <a data-slot="releases"
- href={release()?.url ?? `${config.github.repoUrl}/releases`}
- target="_blank">
+ <a data-slot="releases" href={release()?.url ?? `${config.github.repoUrl}/releases`} target="_blank">
What’s new in {release()?.name ?? "the latest release"}
</a>
<h1>The open source coding agent</h1>
<p>
- OpenCode includes free models or connect from any provider
- to <br />
+ OpenCode includes free models or connect from any provider to <br />
use other models, including Claude, GPT, Gemini and more.
</p>
</div>
- <p data-slot="installation-instructions">
- Install and use. No account, no email, and no credit card.
- </p>
+ <p data-slot="installation-instructions">Install and use. No account, no email, and no credit card.</p>
<div data-slot="installation">
<Tabs
as="section"
@@ -97,8 +92,7 @@ export default function Home() {
</Tabs.List>
<div data-slot="panels">
<Tabs.Content as="pre" data-slot="panel" value="curl">
- <button data-copy data-slot="command"
- onClick={handleCopyClick}>
+ <button data-copy data-slot="command" onClick={handleCopyClick}>
<span data-slot="command-script">
<span>curl -fsSL </span>
<span data-slot="protocol">https://</span>
@@ -109,8 +103,7 @@ export default function Home() {
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="npm">
- <button data-copy data-slot="command"
- onClick={handleCopyClick}>
+ <button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
<span data-slot="protocol">npm i -g </span>
<span data-slot="highlight">opencode-ai</span>
@@ -119,8 +112,7 @@ export default function Home() {
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="bun">
- <button data-copy data-slot="command"
- onClick={handleCopyClick}>
+ <button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
<span data-slot="protocol">bun add -g </span>
<span data-slot="highlight">opencode-ai</span>
@@ -129,8 +121,7 @@ export default function Home() {
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="brew">
- <button data-copy data-slot="command"
- onClick={handleCopyClick}>
+ <button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
<span data-slot="protocol">brew install </span>
<span data-slot="highlight">opencode</span>
@@ -139,8 +130,7 @@ export default function Home() {
</button>
</Tabs.Content>
<Tabs.Content as="pre" data-slot="panel" value="paru">
- <button data-copy data-slot="command"
- onClick={handleCopyClick}>
+ <button data-copy data-slot="command" onClick={handleCopyClick}>
<span>
<span data-slot="protocol">paru -S </span>
<span data-slot="highlight">opencode</span>
@@ -152,14 +142,14 @@ export default function Home() {
</Tabs>
</div>
<p data-slot="installation-options">
- Available in terminal, web, and desktop (coming soon).<br />
+ Available in terminal, web, and desktop (coming soon).
+ <br />
Extensions for VS Code, Cursor, Windsurf, and more.
</p>
</section>
<section data-component="video">
- <video src={video} autoplay playsinline loop muted preload="auto"
- poster={videoPoster}>
+ <video src={video} autoplay playsinline loop muted preload="auto" poster={videoPoster}>
Your browser does not support the video tag.
</video>
</section>