summaryrefslogtreecommitdiffhomepage
path: root/packages/console
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2025-12-16 10:54:51 +0000
committerDavid Hill <[email protected]>2025-12-16 10:54:51 +0000
commit05e0759878cb0f24c981c69ae26f6be3ea5583c6 (patch)
tree39aaf6b86a6f2b8e653120e80d8f0facb528051b /packages/console
parent2330ec6dc3000ae8b86810e9d59b414ad4f05f47 (diff)
parent75e5130cf8f58b32ee3f3ba2249d5917e7e3d6fc (diff)
downloadopencode-05e0759878cb0f24c981c69ae26f6be3ea5583c6.tar.gz
opencode-05e0759878cb0f24c981c69ae26f6be3ea5583c6.zip
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'packages/console')
-rw-r--r--packages/console/app/package.json2
-rw-r--r--packages/console/app/src/component/header.tsx23
-rw-r--r--packages/console/app/src/config.ts4
-rw-r--r--packages/console/app/src/entry-server.tsx3
-rw-r--r--packages/console/app/src/routes/index.css1
-rw-r--r--packages/console/app/src/routes/index.tsx17
-rw-r--r--packages/console/core/package.json2
-rw-r--r--packages/console/function/package.json2
-rw-r--r--packages/console/mail/package.json2
9 files changed, 47 insertions, 9 deletions
diff --git a/packages/console/app/package.json b/packages/console/app/package.json
index 4fcaff701..d0f7aac82 100644
--- a/packages/console/app/package.json
+++ b/packages/console/app/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode-ai/console-app",
- "version": "1.0.153",
+ "version": "1.0.162",
"type": "module",
"scripts": {
"typecheck": "tsgo --noEmit",
diff --git a/packages/console/app/src/component/header.tsx b/packages/console/app/src/component/header.tsx
index 39e833973..7bfcc7825 100644
--- a/packages/console/app/src/component/header.tsx
+++ b/packages/console/app/src/component/header.tsx
@@ -119,8 +119,8 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
<section data-component="top">
<div onContextMenu={handleLogoContextMenu}>
<A href="/">
- <img data-slot="logo light" src={logoLight} alt="opencode logo light" />
- <img data-slot="logo dark" src={logoDark} alt="opencode logo dark" />
+ <img data-slot="logo light" src={logoLight} alt="opencode logo light" width="189" height="34" />
+ <img data-slot="logo dark" src={logoDark} alt="opencode logo dark" width="189" height="34" />
</A>
</div>
@@ -169,6 +169,25 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
</Match>
</Switch>
</li>
+ <Show when={!props.hideGetStarted}>
+ {" "}
+ <li>
+ {" "}
+ <A href="/download" data-slot="cta-button">
+ {" "}
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+ {" "}
+ <path
+ d="M12.1875 9.75L9.00001 12.9375L5.8125 9.75M9.00001 2.0625L9 12.375M14.4375 15.9375H3.5625"
+ stroke="currentColor"
+ stroke-width="1.5"
+ stroke-linecap="square"
+ />{" "}
+ </svg>{" "}
+ Free{" "}
+ </A>{" "}
+ </li>
+ </Show>
</ul>
</nav>
<nav data-component="nav-mobile">
diff --git a/packages/console/app/src/config.ts b/packages/console/app/src/config.ts
index e8a2ed252..29df86cbd 100644
--- a/packages/console/app/src/config.ts
+++ b/packages/console/app/src/config.ts
@@ -22,8 +22,8 @@ export const config = {
// Static stats (used on landing page)
stats: {
- contributors: "375",
- commits: "5,250",
+ contributors: "400",
+ commits: "5,000",
monthlyUsers: "400,000",
},
} as const
diff --git a/packages/console/app/src/entry-server.tsx b/packages/console/app/src/entry-server.tsx
index 913c8ca06..deaadc747 100644
--- a/packages/console/app/src/entry-server.tsx
+++ b/packages/console/app/src/entry-server.tsx
@@ -1,6 +1,8 @@
// @refresh reload
import { createHandler, StartServer } from "@solidjs/start/server"
+const criticalCSS = `[data-component="top"]{min-height:80px;display:flex;align-items:center}`
+
export default createHandler(
() => (
<StartServer
@@ -11,6 +13,7 @@ export default createHandler(
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:image" content="/social-share.png" />
<meta property="twitter:image" content="/social-share.png" />
+ <style>{criticalCSS}</style>
{assets}
</head>
<body>
diff --git a/packages/console/app/src/routes/index.css b/packages/console/app/src/routes/index.css
index ae329b98b..f100acf8f 100644
--- a/packages/console/app/src/routes/index.css
+++ b/packages/console/app/src/routes/index.css
@@ -206,6 +206,7 @@ body {
[data-component="top"] {
padding: 24px var(--padding);
height: 80px;
+ min-height: 80px;
position: sticky;
top: 0;
display: flex;
diff --git a/packages/console/app/src/routes/index.tsx b/packages/console/app/src/routes/index.tsx
index 9948551e4..90bdfffdc 100644
--- a/packages/console/app/src/routes/index.tsx
+++ b/packages/console/app/src/routes/index.tsx
@@ -52,6 +52,21 @@ export default function Home() {
<div data-component="content">
<section data-component="hero">
+ <div data-component="desktop-app-banner">
+ <span data-slot="badge">New</span>
+ <div data-slot="content">
+ <span data-slot="text">
+ Desktop app available in beta<span data-slot="platforms"> on macOS, Windows, and Linux</span>.
+ </span>
+ <a href="/download" data-slot="link">
+ Download now
+ </a>
+ <a href="/download" data-slot="link-mobile">
+ Download the desktop beta now
+ </a>
+ </div>
+ </div>
+
<div data-slot="hero-copy">
{/*<a data-slot="releases"*/}
{/* href={release()?.url ?? `${config.github.repoUrl}/releases`}*/}
@@ -213,7 +228,7 @@ export default function Home() {
<span>[*]</span>
<p>
With over <strong>{config.github.starsFormatted.full}</strong> GitHub stars,{" "}
- <strong>{config.stats.contributors}</strong> contributors, and almost{" "}
+ <strong>{config.stats.contributors}</strong> contributors, and over{" "}
<strong>{config.stats.commits}</strong> commits, OpenCode is used and trusted by over{" "}
<strong>{config.stats.monthlyUsers}</strong> developers every month.
</p>
diff --git a/packages/console/core/package.json b/packages/console/core/package.json
index f68f70436..02e3a6de3 100644
--- a/packages/console/core/package.json
+++ b/packages/console/core/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/console-core",
- "version": "1.0.153",
+ "version": "1.0.162",
"private": true,
"type": "module",
"dependencies": {
diff --git a/packages/console/function/package.json b/packages/console/function/package.json
index 53a41670d..e80959975 100644
--- a/packages/console/function/package.json
+++ b/packages/console/function/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode-ai/console-function",
- "version": "1.0.153",
+ "version": "1.0.162",
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
diff --git a/packages/console/mail/package.json b/packages/console/mail/package.json
index a03e3843b..2a244c47f 100644
--- a/packages/console/mail/package.json
+++ b/packages/console/mail/package.json
@@ -1,6 +1,6 @@
{
"name": "@opencode-ai/console-mail",
- "version": "1.0.153",
+ "version": "1.0.162",
"dependencies": {
"@jsx-email/all": "2.2.3",
"@jsx-email/cli": "1.4.3",