Skip to content

Commit 64e16ee

Browse files
Merge pull request #59 from oslabs-beta/kyler/siteTeam
feat: setup of Team section of the website done
2 parents 3daf149 + c0aeb5e commit 64e16ee

File tree

8 files changed

+54
-39
lines changed

8 files changed

+54
-39
lines changed
799 KB
Loading

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use client';
22

33
import Image from 'next/image';
4-
import githubLogo from '../assets/GithubLogo.png';
54

65
const NavBar = () => {
76
return (
@@ -46,7 +45,7 @@ const NavBar = () => {
4645
href='https://github.com/oslabs-beta/mlflow-js'
4746
className='navBarLinksGithub'
4847
>
49-
<Image src={githubLogo} width={24} height={24} alt='G' />
48+
<Image src={'/assets/GithubLogo.png'} width={24} height={24} alt='G' />
5049
</a>
5150
</div>
5251
</div>

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

+13-6
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,49 @@ const Team = () => {
66
name: 'Yiqun Zheng',
77
github: 'https://github.com/yiqunzheng',
88
linkedIn: 'https://www.linkedin.com/in/yiqunzheng/',
9+
pfp: '',
910
},
1011
{
1112
name: 'Kyler Chiago',
1213
github: 'https://github.com/Kyler-Chiago',
1314
linkedIn: 'https://www.linkedin.com/in/kyler-chiago/',
15+
pfp: '/assets/kylerpfp.png',
1416
},
1517
{
1618
name: 'Austin Fraser',
1719
github: 'https://github.com/austinbfraser',
1820
linkedIn: 'http://www.linkedin.com/in/austin-fraser',
21+
pfp: '',
1922
},
2023
{
2124
name: 'Stephany Ho',
2225
github: 'https://github.com/seneyu/',
2326
linkedIn: 'https://www.linkedin.com/in/stephanyho/',
24-
},
25-
{
26-
name: 'Winston Ludlam',
27-
github: 'https://github.com/winjolu/',
28-
linkedIn: 'https://www.linkedin.com/in/wjludlam/',
27+
pfp: '',
2928
},
3029
];
3130

3231
return (
3332
<div className='team' id='team'>
34-
<div className='centered'>Meet the team</div>
33+
<div className='centered teamHead'>Meet the team</div>
3534
<div className='teamCards'>
3635
{teamArray.map((member, index) => (
3736
<TeamCard
3837
key={index}
3938
name={member.name}
4039
github={member.github}
4140
linkedIn={member.linkedIn}
41+
pfp={member.pfp}
4242
/>
4343
))}
4444
</div>
45+
<TeamCard
46+
key={'soloCard'}
47+
name={'Winston Ludlam'}
48+
github={'https://github.com/winjolu/'}
49+
linkedIn={'https://www.linkedin.com/in/wjludlam/'}
50+
pfp={''}
51+
/>
4552
</div>
4653
);
4754
};

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

+21-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
1-
// import imageNotFound from '/../..//assets/imageNotFound.jpg'
1+
import Image from 'next/image';
22

33
interface TeamCardProps {
44
name: string;
55
github: string;
66
linkedIn: string;
7+
pfp: string;
78
}
89

9-
const TeamCard: React.FC<TeamCardProps> = ({
10-
name,
11-
github,
12-
linkedIn,
13-
}) => {
10+
const TeamCard: React.FC<TeamCardProps> = ({ name, github, linkedIn, pfp }) => {
1411
return (
1512
<div className='teamcard'>
16-
{/* <div style={{ backgroundImage: 'url(../../assets/imageNotFound.jpg)' }} className='teamCardImg'></div> */}
17-
{/* <img src={imageNotFound} alt='Miss'></img> */}
18-
{/* <img src={require('../../assets/imageNotFound.jpg')} alt="Test"></img> */}
13+
<Image src={pfp} width={70} height={70} alt='No Image' />
1914
<div>{name}</div>
20-
<div>
21-
<a href={github}>G </a>
22-
<a href={linkedIn}>L </a>
15+
<div className='teamcardLinks'>
16+
<a href={github} className='teamCardLink1'>
17+
<Image
18+
src={'/assets/GithubLogo.png'}
19+
width={20}
20+
height={20}
21+
alt='G'
22+
/>
23+
</a>
24+
<a href={linkedIn} className='teamCardLink2'>
25+
<Image
26+
src={'/assets/LinkedInLogo.png'}
27+
width={20}
28+
height={20}
29+
alt='L'
30+
/>
31+
</a>
2332
</div>
2433
</div>
2534
);

mlflow-site/src/app/globals.css

+19-19
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
/* :root {
6-
--background: #ffffff;
7-
--foreground: #171717;
8-
}
9-
10-
@media (prefers-color-scheme: dark) {
11-
:root {
12-
--background: #0a0a0a;
13-
--foreground: #ededed;
14-
}
15-
} */
16-
175
body {
186
color: var(--foreground);
197
background: var(--background);
@@ -83,7 +71,6 @@ body {
8371
grid-row: 2;
8472
width: 100%;
8573
height: 100%;
86-
/* background-color: #7e7e7e; */
8774
display: grid;
8875
grid-template-columns: auto auto;
8976
grid-template-rows: 100%;
@@ -134,15 +121,13 @@ body {
134121
grid-row: 3;
135122
width: 100%;
136123
height: 100%;
137-
/* background-color: aqua; */
138124
}
139125

140126
.team {
141127
grid-column: 2/5;
142128
grid-row: 4;
143129
width: 100%;
144130
height: fit-content;
145-
background-color: yellow;
146131
display: flex;
147132
justify-content: center;
148133
align-items: center;
@@ -154,7 +139,6 @@ body {
154139
grid-column: 2/5;
155140
grid-row: 3;
156141
width: 100%;
157-
/* background-color: rgb(102, 102, 54); */
158142
}
159143

160144
.homeButton {
@@ -176,7 +160,6 @@ body {
176160

177161
.button {
178162
width: 100%;
179-
/* background-color: rgb(14, 69, 129); */
180163
}
181164

182165
.features {
@@ -214,16 +197,19 @@ body {
214197
grid-template-rows: min-content;
215198
}
216199

200+
.teamHead {
201+
font-size: 1.35rem;
202+
}
203+
217204
.teamCards {
218205
width: 100%;
219206
display: grid;
220207
grid-template-columns: 50% 50%;
221208
grid-template-rows: repeat(calc(100%/3), 3);
222-
/* border: #0a0a0a; */
223-
background-color: red;
224209
}
225210

226211
.teamcard {
212+
margin-top: 0.5rem;
227213
display: flex;
228214
flex-direction: column;
229215
justify-content: center;
@@ -233,4 +219,18 @@ body {
233219
.teamCardImg {
234220
width: 50px;
235221
height: 50px;
222+
}
223+
224+
.teamcardLinks {
225+
display: grid;
226+
grid-template-columns: 45% 10% 45%;
227+
grid-template-rows: 100%;
228+
}
229+
230+
.teamCardLink1 {
231+
grid-column: 1;
232+
}
233+
234+
.teamCardLink2 {
235+
grid-column: 3;
236236
}

0 commit comments

Comments
 (0)