GeezerVison is showing github.com — fix(web): add & fix the download button (#10566) · bpd1069/opencode@e491f5c
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/console/app/src/component/header.tsx +4-8Lines changed: 4 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -170,22 +170,18 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) { |
170 | 170 | </Switch> |
171 | 171 | </li> |
172 | 172 | <Show when={!props.hideGetStarted}> |
173 | | - {" "} |
174 | 173 | <li> |
175 | | - {" "} |
176 | 174 | <A href="/download" data-slot="cta-button"> |
177 | | - {" "} |
178 | 175 | <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> |
179 | | - {" "} |
180 | 176 | <path |
181 | 177 | d="M12.1875 9.75L9.00001 12.9375L5.8125 9.75M9.00001 2.0625L9 12.375M14.4375 15.9375H3.5625" |
182 | 178 | stroke="currentColor" |
183 | 179 | stroke-width="1.5" |
184 | 180 | stroke-linecap="square" |
185 | | - />{" "} |
186 | | - </svg>{" "} |
187 | | - Free{" "} |
188 | | - </A>{" "} |
| 181 | + /> |
| 182 | + </svg> |
| 183 | + Free |
| 184 | + </A> |
189 | 185 | </li> |
190 | 186 | </Show> |
191 | 187 | </ul> |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/console/app/src/routes/changelog/index.css +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
106 | 106 | [data-slot="cta-button"] { |
107 | 107 | background: var(--color-background-strong); |
108 | 108 | color: var(--color-text-inverted); |
109 | | - padding: 8px 16px; |
| 109 | + padding: 8px 16px 8px 10px; |
110 | 110 | border-radius: 4px; |
111 | 111 | font-weight: 500; |
112 | 112 | text-decoration: none; |
| 113 | + display: flex; |
| 114 | + align-items: center; |
| 115 | + gap: 8px; |
113 | 116 |
|
114 | 117 | @media (max-width: 55rem) { |
115 | 118 | display: none; |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/console/app/src/routes/changelog/index.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -97,7 +97,7 @@ export default function Changelog() { |
97 | 97 | <Meta name="description" content="OpenCode release notes and changelog" /> |
98 | 98 |
|
99 | 99 | <div data-component="container"> |
100 | | - <Header hideGetStarted /> |
| 100 | + <Header /> |
101 | 101 |
|
102 | 102 | <div data-component="content"> |
103 | 103 | <section data-component="changelog-hero"> |
|