summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorRyan Vogel <[email protected]>2026-01-25 12:20:39 -0500
committerGitHub <[email protected]>2026-01-25 12:20:39 -0500
commite491f5cc16ae536fa2ab87ec38d9201ae25012b3 (patch)
treee578d878ce7e446ff2eebbde33ba6eee808b70f8 /packages
parentebe86e40a0d97a07283e4c6323ab3ba082623504 (diff)
downloadopencode-e491f5cc16ae536fa2ab87ec38d9201ae25012b3.tar.gz
opencode-e491f5cc16ae536fa2ab87ec38d9201ae25012b3.zip
fix(web): add & fix the download button (#10566)
Diffstat (limited to 'packages')
-rw-r--r--packages/console/app/src/component/header.tsx12
-rw-r--r--packages/console/app/src/routes/changelog/index.css5
-rw-r--r--packages/console/app/src/routes/changelog/index.tsx2
3 files changed, 9 insertions, 10 deletions
diff --git a/packages/console/app/src/component/header.tsx b/packages/console/app/src/component/header.tsx
index 7bfcc7825..72e9d0418 100644
--- a/packages/console/app/src/component/header.tsx
+++ b/packages/console/app/src/component/header.tsx
@@ -170,22 +170,18 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
</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>{" "}
+ />
+ </svg>
+ Free
+ </A>
</li>
</Show>
</ul>
diff --git a/packages/console/app/src/routes/changelog/index.css b/packages/console/app/src/routes/changelog/index.css
index 29020a924..a445c7447 100644
--- a/packages/console/app/src/routes/changelog/index.css
+++ b/packages/console/app/src/routes/changelog/index.css
@@ -106,10 +106,13 @@
[data-slot="cta-button"] {
background: var(--color-background-strong);
color: var(--color-text-inverted);
- padding: 8px 16px;
+ padding: 8px 16px 8px 10px;
border-radius: 4px;
font-weight: 500;
text-decoration: none;
+ display: flex;
+ align-items: center;
+ gap: 8px;
@media (max-width: 55rem) {
display: none;
diff --git a/packages/console/app/src/routes/changelog/index.tsx b/packages/console/app/src/routes/changelog/index.tsx
index cf71d021c..c1b931fe3 100644
--- a/packages/console/app/src/routes/changelog/index.tsx
+++ b/packages/console/app/src/routes/changelog/index.tsx
@@ -97,7 +97,7 @@ export default function Changelog() {
<Meta name="description" content="OpenCode release notes and changelog" />
<div data-component="container">
- <Header hideGetStarted />
+ <Header />
<div data-component="content">
<section data-component="changelog-hero">