File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
import styled from "styled-components" ;
2
2
3
- const Button = styled . button `
3
+ const Button = styled . a `
4
4
cursor: ${ ( { disabled } ) => disabled ? `default` : `pointer` } ;
5
5
display: inline-block;
6
6
text-align: center;
@@ -16,7 +16,7 @@ const Button = styled.button`
16
16
padding-top: 8px;
17
17
padding-bottom: 8px;
18
18
border-radius: 18px;
19
- background: var(${ ( { disabled } ) => disabled ? `--glyph-gray-tertiary` : `--fill-blue` } );
19
+ background: var(${ ( { disabled } ) => disabled ? `--glyph-gray-tertiary` : `--color- fill-blue` } );
20
20
color: #fff;
21
21
border: 0;
22
22
outline: 0;
Original file line number Diff line number Diff line change @@ -162,9 +162,7 @@ function Header() {
162
162
</ label >
163
163
</ Action >
164
164
< Action >
165
- < a >
166
- < Button disabled compact > Download Coming Soon</ Button >
167
- </ a >
165
+ < Button href = "https://github.com/CodeEditApp/CodeEdit/releases/latest" target = "_blank" compact > Download Alpha</ Button >
168
166
</ Action >
169
167
</ Actions >
170
168
</ Menu >
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ const HeroSection = () => {
41
41
< Typography variant = "intro-elevated" color = "tertiary" gutterBottom >
42
42
CodeEdit is an exciting new code editor written entirely and unapologetically for macOS. Develop any project using any language at speeds like never before with increased efficiency and reliability in an editor that feels right at home on your Mac.
43
43
</ Typography >
44
- < Button disabled > Download Coming Soon </ Button >
45
- < Typography variant = "body-reduced" color = "tertiary" > v0 .0.1 | macOS 12+</ Typography >
44
+ < Button href = "https://github.com/CodeEditApp/CodeEdit/releases/latest" target = "_blank" > Download Alpha </ Button >
45
+ < Typography variant = "body-reduced" color = "tertiary" > 0 .0.1-alpha | macOS 12+</ Typography >
46
46
</ Stack >
47
47
</ Column >
48
48
</ Row >
You can’t perform that action at this time.
0 commit comments