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+
13const 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 11const Demo = ( ) => {
22 return (
3- < div className = 'demo' >
3+ < div className = 'demo' id = 'demo' >
44 < div className = 'demoSplit' >
55 < div > Img 1</ div >
66 < div > Demo 1</ div >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import FeatureCard from "./FeatureCard";
22
33const Features = ( ) => {
44 return (
5- < div className = 'features' >
5+ < div className = 'features' id = 'features' >
66 < div > MLOps in Javascript, made simple.</ div >
77 < div > Long blurb</ div >
88 < FeatureCard />
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import Button from './Button';
22
33const Headline = ( ) => {
44 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 >
77 < div > Harness MLflow's MLOps functionality for your Javascript application with MLflow.js</ div >
88 < Button />
99 </ 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+
16const NavBar = ( ) => {
27 return (
38 < div className = 'navBar' >
4- < div > MLflow.js</ div >
9+ < div className = 'navBarMlflow' > MLflow.js</ div >
510 < 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 >
1251 </ div >
1352 </ div >
1453 ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const Team = () => {
3030 ] ;
3131
3232 return (
33- < div className = 'team' >
33+ < div className = 'team' id = 'team' >
3434 < div className = 'centered' > Meet the team</ div >
3535 < div className = 'teamCards' >
3636 { 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'
22
33interface TeamCardProps {
44 name : string ;
@@ -14,7 +14,7 @@ const TeamCard: React.FC<TeamCardProps> = ({
1414 return (
1515 < div className = 'teamcard' >
1616 { /* <div style={{ backgroundImage: 'url(../../assets/imageNotFound.jpg)' }} className='teamCardImg'></div> */ }
17- < img src = { imageNotFound } alt = 'Miss' > </ img >
17+ { /* <img src={imageNotFound} alt='Miss'></img> */ }
1818 { /* <img src={require('../../assets/imageNotFound.jpg')} alt="Test"></img> */ }
1919 < div > { name } </ div >
2020 < div >
You can’t perform that action at this time.
0 commit comments