File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 3
3
const Button = ( ) => {
4
4
return (
5
5
< div className = 'button' >
6
- < button
7
- onClick = { ( ) => {
8
- window . location . assign ( 'https://github.com/oslabs-beta/mlflow-js' ) ;
9
- } }
10
- className = 'homeButton homeButtonDownload text-white'
11
- >
12
- Download
13
- </ button >
14
- < button
15
- onClick = { ( ) => {
16
- window . location . assign ( 'https://github.com/oslabs-beta/mlflow-js/tree/dev/mlflow/docs' ) ;
17
- } }
18
- className = 'homeButton homeButtonRead'
19
- >
20
- Read the Docs
21
- </ button >
6
+ < a href = 'https://github.com/oslabs-beta/mlflow-js' className = 'homeButton homeButtonDownload text-white' > Download</ a >
7
+ < a href = 'https://github.com/oslabs-beta/mlflow-js/tree/dev/mlflow/docs' className = 'homeButton homeButtonRead' > Read the Docs</ a >
22
8
</ div >
23
9
) ;
24
10
} ;
Original file line number Diff line number Diff line change @@ -175,10 +175,14 @@ body {
175
175
176
176
.homeButtonDownload {
177
177
background-color : rgb (66 , 107 , 31 );
178
+ padding-top : 0.6rem ;
179
+ padding-bottom : 0.6rem ;
178
180
}
179
181
180
182
.homeButtonRead {
181
183
background-color : rgb (204 , 204 , 204 );
184
+ padding-top : 0.6rem ;
185
+ padding-bottom : 0.6rem ;
182
186
}
183
187
184
188
.button {
You can’t perform that action at this time.
0 commit comments