Skip to content

Commit d3c4995

Browse files
committed
before changing assets location
1 parent 5ac4b3f commit d3c4995

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

mlflow-site/src/app/components/Headline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Button from './Button';
33
const Headline = () => {
44
return (
55
<div className='home'>
6-
<div>MLOps workflow for Javascript</div>
6+
<div className='bigHeadline'>MLOps workflow for Javascript</div>
77
<div>Harness MLflow&apos;s MLOps functionality for your Javascript application with MLflow.js</div>
88
<Button />
99
</div>

mlflow-site/src/app/components/NavBar.tsx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1+
import Image from 'next/image'
2+
13
const NavBar = () => {
24
return (
35
<div className='navBar'>
4-
<div>MLflow.js</div>
6+
<div className='navBarMlflow'>MLflow.js</div>
57
<div className='navBarLinks'>
68
<div>Home</div>
79
<div className='navBarLinksFeatures'>Features</div>
810
<div className='navBarLinksDemo'>Demo</div>
911
<div className='navBarLinksTeam'>Team</div>
10-
<div className='navBarLinksGithub'>G</div>
11-
<div className='navBarLinksLinkedIn'>L</div>
12+
<a
13+
href='https://github.com/oslabs-beta/mlflow-js'
14+
className='navBarLinksGithub'
15+
>
16+
{/* <img src='../../assets/Github_logo.png' alt='G'></img> */}
17+
<Image
18+
src='/assets/Github_logo.png'
19+
width={50}
20+
height={50}
21+
alt='M'
22+
/>
23+
</a>
24+
<a href='' className='navBarLinksLinkedIn'>
25+
L
26+
</a>
1227
</div>
1328
</div>
1429
);

mlflow-site/src/app/globals.css

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
:root {
5+
/* :root {
66
--background: #ffffff;
77
--foreground: #171717;
88
}
@@ -12,13 +12,14 @@
1212
--background: #0a0a0a;
1313
--foreground: #ededed;
1414
}
15-
}
15+
} */
1616

1717
body {
1818
color: var(--foreground);
1919
background: var(--background);
20-
font-family: Arial, Helvetica, sans-serif;
20+
font-family: Inter;
2121
font-size: 1rem;
22+
color: rgb(0, 0, 0);
2223
}
2324

2425
@layer utilities {
@@ -74,18 +75,19 @@ body {
7475
grid-row: 1;
7576
display: grid;
7677
grid-template-columns: 0.7rem 1.3rem 1fr 1.3rem 0.7rem;
77-
grid-template-rows: 1.3rem 2.8rem 1fr min-content 1.3rem;
78+
grid-template-rows: 1.3rem min-content 1fr min-content 1.3rem;
7879
}
7980

8081
.navBar {
8182
grid-column: 2/5;
8283
grid-row: 2;
8384
width: 100%;
8485
height: 100%;
85-
background-color: #0a0a0a;
86+
background-color: #7e7e7e;
8687
display: grid;
8788
grid-template-columns: auto auto;
8889
grid-template-rows: 100%;
90+
/* text-align: center; */
8991
}
9092

9193
.navBarLinks {
@@ -96,6 +98,7 @@ body {
9698
display: grid;
9799
grid-template-columns: repeat(calc(100%/6), 6);
98100
grid-template-rows: 100%;
101+
align-items: center;
99102
}
100103

101104
.navBarLinksFeatures {
@@ -118,6 +121,17 @@ body {
118121
grid-column: 6;
119122
}
120123

124+
.navBarMlflow {
125+
color: rgb(66, 107, 31);
126+
font-size: 1.2rem;
127+
font-family: Newsreader;
128+
}
129+
130+
.bigHeadline {
131+
font-size: 1.7rem;
132+
font-family: Newsreader;
133+
}
134+
121135
.mobileInnerWrapper {
122136
grid-column: 3;
123137
grid-row: 3;
4.59 KB
Loading
13.2 KB
Loading

0 commit comments

Comments
 (0)