File tree Expand file tree Collapse file tree 11 files changed +118
-31
lines changed Expand file tree Collapse file tree 11 files changed +118
-31
lines changed File renamed without changes.
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/tree/dev/mlflow/docs' ) ;
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 1
1
const Demo = ( ) => {
2
2
return (
3
- < div className = 'demo' >
3
+ < div className = 'demo' id = 'demo' >
4
4
< div className = 'demoSplit' >
5
5
< div > Img 1</ div >
6
6
< div > Demo 1</ div >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import FeatureCard from "./FeatureCard";
2
2
3
3
const Features = ( ) => {
4
4
return (
5
- < div className = 'features' >
5
+ < div className = 'features' id = 'features' >
6
6
< div > MLOps in Javascript, made simple.</ div >
7
7
< div > Long blurb</ div >
8
8
< FeatureCard />
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import Button from './Button';
2
2
3
3
const Headline = ( ) => {
4
4
return (
5
- < div className = 'home' >
6
- < div > MLOps workflow for Javascript</ div >
5
+ < div className = 'home' id = 'headline' >
6
+ < div className = 'bigHeadline' > MLOps workflow for Javascript</ div >
7
7
< div > Harness MLflow's MLOps functionality for your Javascript application with MLflow.js</ div >
8
8
< Button />
9
9
</ div >
Original file line number Diff line number Diff line change
1
+ 'use client' ;
2
+
3
+ import Image from 'next/image' ;
4
+ import githubLogo from '../assets/GithubLogo.png' ;
5
+
1
6
const NavBar = ( ) => {
2
7
return (
3
8
< div className = 'navBar' >
4
- < div > MLflow.js</ div >
9
+ < div className = 'navBarMlflow' > MLflow.js</ div >
5
10
< div className = 'navBarLinks' >
6
- < div > Home</ div >
7
- < div className = 'navBarLinksFeatures' > Features</ div >
8
- < div className = 'navBarLinksDemo' > Demo</ div >
9
- < div className = 'navBarLinksTeam' > Team</ div >
10
- < div className = 'navBarLinksGithub' > G</ div >
11
- < div className = 'navBarLinksLinkedIn' > L</ div >
11
+ < button
12
+ onClick = { ( ) => {
13
+ const element = document . getElementById ( 'headline' ) ;
14
+ element ?. scrollIntoView ( { behavior : 'smooth' } ) ;
15
+ } }
16
+ >
17
+ Home
18
+ </ button >
19
+ < button
20
+ onClick = { ( ) => {
21
+ const element = document . getElementById ( 'features' ) ;
22
+ element ?. scrollIntoView ( { behavior : 'smooth' } ) ;
23
+ } }
24
+ >
25
+ Features
26
+ </ button >
27
+ < button
28
+ onClick = { ( ) => {
29
+ const element = document . getElementById ( 'demo' ) ;
30
+ element ?. scrollIntoView ( { behavior : 'smooth' } ) ;
31
+ } }
32
+ className = 'navBarLinksDemo'
33
+ >
34
+ Demo
35
+ </ button >
36
+ < button
37
+ onClick = { ( ) => {
38
+ const element = document . getElementById ( 'team' ) ;
39
+ element ?. scrollIntoView ( { behavior : 'smooth' } ) ;
40
+ } }
41
+ className = 'navBarLinksTeam'
42
+ >
43
+ Team
44
+ </ button >
45
+ < a
46
+ href = 'https://github.com/oslabs-beta/mlflow-js'
47
+ className = 'navBarLinksGithub'
48
+ >
49
+ < Image src = { githubLogo } width = { 24 } height = { 24 } alt = 'G' />
50
+ </ a >
12
51
</ div >
13
52
</ div >
14
53
) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const Team = () => {
30
30
] ;
31
31
32
32
return (
33
- < div className = 'team' >
33
+ < div className = 'team' id = 'team' >
34
34
< div className = 'centered' > Meet the team</ div >
35
35
< div className = 'teamCards' >
36
36
{ teamArray . map ( ( member , index ) => (
Original file line number Diff line number Diff line change 1
- import imageNotFound from '../../assets/imageNotFound.jpg'
1
+ // import imageNotFound from '/ ../../ /assets/imageNotFound.jpg'
2
2
3
3
interface TeamCardProps {
4
4
name : string ;
@@ -14,7 +14,7 @@ const TeamCard: React.FC<TeamCardProps> = ({
14
14
return (
15
15
< div className = 'teamcard' >
16
16
{ /* <div style={{ backgroundImage: 'url(../../assets/imageNotFound.jpg)' }} className='teamCardImg'></div> */ }
17
- < img src = { imageNotFound } alt = 'Miss' > </ img >
17
+ { /* <img src={imageNotFound} alt='Miss'></img> */ }
18
18
{ /* <img src={require('../../assets/imageNotFound.jpg')} alt="Test"></img> */ }
19
19
< div > { name } </ div >
20
20
< div >
You can’t perform that action at this time.
0 commit comments