File tree Expand file tree Collapse file tree 2 files changed +44
-8
lines changed Expand file tree Collapse file tree 2 files changed +44
-8
lines changed Original file line number Diff line number Diff line change
1
+ 'use client' ;
2
+
1
3
const Button = ( ) => {
2
- return (
3
- < div className = 'button' > Button</ div >
4
- )
5
- }
6
-
7
- export default Button
4
+ return (
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' ) ;
17
+ } }
18
+ className = 'homeButton homeButtonRead'
19
+ >
20
+ Read the Docs
21
+ </ button >
22
+ </ div >
23
+ ) ;
24
+ } ;
25
+
26
+ export default Button ;
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ body {
138
138
grid-row : 3 ;
139
139
width : 100% ;
140
140
height : 100% ;
141
- background-color : aqua;
141
+ /* background-color: aqua; */
142
142
}
143
143
144
144
.team {
@@ -161,9 +161,26 @@ body {
161
161
/* background-color: rgb(102, 102, 54); */
162
162
}
163
163
164
+ .homeButton {
165
+ padding : 3px ;
166
+ padding-left : 6px ;
167
+ padding-right : 6px ;
168
+ border-radius : 5px ;
169
+ font-size : 0.8rem ;
170
+ margin-right : 8px ;
171
+ }
172
+
173
+ .homeButtonDownload {
174
+ background-color : rgb (66 , 107 , 31 );
175
+ }
176
+
177
+ .homeButtonRead {
178
+ background-color : rgb (204 , 204 , 204 );
179
+ }
180
+
164
181
.button {
165
182
width : 100% ;
166
- background-color : rgb (14 , 69 , 129 );
183
+ /* background-color: rgb(14, 69, 129); */
167
184
}
168
185
169
186
.features {
You can’t perform that action at this time.
0 commit comments