Skip to content

Commit b704b6a

Browse files
committed
navBar and Home basics done
1 parent bdad7a2 commit b704b6a

File tree

2 files changed

+44
-8
lines changed

2 files changed

+44
-8
lines changed
Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
1+
'use client';
2+
13
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;

mlflow-site/src/app/globals.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ body {
138138
grid-row: 3;
139139
width: 100%;
140140
height: 100%;
141-
background-color: aqua;
141+
/* background-color: aqua; */
142142
}
143143

144144
.team {
@@ -161,9 +161,26 @@ body {
161161
/* background-color: rgb(102, 102, 54); */
162162
}
163163

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+
164181
.button {
165182
width: 100%;
166-
background-color: rgb(14, 69, 129);
183+
/* background-color: rgb(14, 69, 129); */
167184
}
168185

169186
.features {

0 commit comments

Comments
 (0)