Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meet-The-Admins Section #58

Merged
merged 3 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/components/Members.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
function Members() {
const admin = [
{ name: 'John', imgUrl: '/head.png' },
{ name: 'Amy', imgUrl: '/head.png' },
{ name: 'Kevin', imgUrl: '/head.png' },
{ name: 'John Riley', title: 'Admin & Coding Mentor', imgUrl: 'https://avatars.githubusercontent.com/u/41979303?v=4' },
{ name: 'Kent Utterback', title: 'Admin Emeritus & Coding Mentor', imgUrl: 'https://avatars.githubusercontent.com/u/17324971?v=4' },
{ name: 'Amy Bedinghaus', title: 'Admin Emeritus', imgUrl: 'https://avatars.githubusercontent.com/u/28076677?v=4' },
{ name: 'Austin Truss', title: 'Admin Emeritus', imgUrl: 'https://media.licdn.com/dms/image/C5603AQGQpynBhWiZLA/profile-displayphoto-shrink_200_200/0/1517355585710?e=1696464000&v=beta&t=DrPEzm5U1we4G7qUPoFrAA5gw_MHSN3dU8_02iWZYRA' },
{ name: 'Kevin Bruland', title: 'Admin Emeritus', imgUrl: 'https://avatars.githubusercontent.com/u/17850505?v=4' },
{ name: 'Sarah Lilly-Bruland', title: 'Admin Emeritus', imgUrl: 'https://avatars.githubusercontent.com/u/17872422?v=4' },
{ name: 'Justin Woodward', title: 'Admin Emeritus', imgUrl: 'https://avatars.githubusercontent.com/u/17994108?v=4' },
]
const members = [
{ name: 'John', imgUrl: '/head.png' },
jduffey marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -21,6 +25,7 @@ function Members() {
<div key={member.name}>
<img className='admin' src={member.imgUrl} alt={`beautiful headshot of ${member.name}.`} />
<h4>{member.name}</h4>
<h5>{member.title}</h5>
</div>
)}
</div>
Expand Down
10 changes: 9 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ th {
.member {
height: 140px;
width: 140px;
padding: .75em;
/* padding: .75em; */
mmcbride2929 marked this conversation as resolved.
Show resolved Hide resolved
border: 1px solid #707070;
background-color: #f5b742;
}
Expand All @@ -212,6 +212,14 @@ th {
border-radius: 50%;
}

.members h4 {
margin: 5px 0 5px 0;
}

.members h5 {
margin-top: 15px;
}

footer {
display: flex;
flex-direction: column;
Expand Down
79 changes: 70 additions & 9 deletions src/test/__snapshots__/App.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -197,33 +197,94 @@ exports[`App renders 1`] = `
>
<div>
<img
alt="beautiful headshot of John."
alt="beautiful headshot of John Riley."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/41979303?v=4"
/>
<h4>
John
John Riley
</h4>
<h5>
Admin & Coding Mentor
</h5>
</div>
<div>
<img
alt="beautiful headshot of Amy."
alt="beautiful headshot of Kent Utterback."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/17324971?v=4"
/>
<h4>
Amy
Kent Utterback
</h4>
<h5>
Admin Emeritus & Coding Mentor
</h5>
</div>
<div>
<img
alt="beautiful headshot of Kevin."
alt="beautiful headshot of Amy Bedinghaus."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/28076677?v=4"
/>
<h4>
Amy Bedinghaus
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Austin Truss."
className="admin"
src="https://media.licdn.com/dms/image/C5603AQGQpynBhWiZLA/profile-displayphoto-shrink_200_200/0/1517355585710?e=1696464000&v=beta&t=DrPEzm5U1we4G7qUPoFrAA5gw_MHSN3dU8_02iWZYRA"
/>
<h4>
Austin Truss
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Kevin Bruland."
className="admin"
src="https://avatars.githubusercontent.com/u/17850505?v=4"
/>
<h4>
Kevin Bruland
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Sarah Lilly-Bruland."
className="admin"
src="https://avatars.githubusercontent.com/u/17872422?v=4"
/>
<h4>
Sarah Lilly-Bruland
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Justin Woodward."
className="admin"
src="https://avatars.githubusercontent.com/u/17994108?v=4"
/>
<h4>
Kevin
Justin Woodward
</h4>
<h5>
Admin Emeritus
</h5>
</div>
</div>
</div>
Expand Down
79 changes: 70 additions & 9 deletions src/test/components/__snapshots__/Members.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,94 @@ exports[`Members renders 1`] = `
>
<div>
<img
alt="beautiful headshot of John."
alt="beautiful headshot of John Riley."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/41979303?v=4"
/>
<h4>
John
John Riley
</h4>
<h5>
Admin & Coding Mentor
</h5>
</div>
<div>
<img
alt="beautiful headshot of Amy."
alt="beautiful headshot of Kent Utterback."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/17324971?v=4"
/>
<h4>
Amy
Kent Utterback
</h4>
<h5>
Admin Emeritus & Coding Mentor
</h5>
</div>
<div>
<img
alt="beautiful headshot of Kevin."
alt="beautiful headshot of Amy Bedinghaus."
className="admin"
src="/head.png"
src="https://avatars.githubusercontent.com/u/28076677?v=4"
/>
<h4>
Amy Bedinghaus
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Austin Truss."
className="admin"
src="https://media.licdn.com/dms/image/C5603AQGQpynBhWiZLA/profile-displayphoto-shrink_200_200/0/1517355585710?e=1696464000&v=beta&t=DrPEzm5U1we4G7qUPoFrAA5gw_MHSN3dU8_02iWZYRA"
/>
<h4>
Austin Truss
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Kevin Bruland."
className="admin"
src="https://avatars.githubusercontent.com/u/17850505?v=4"
/>
<h4>
Kevin Bruland
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Sarah Lilly-Bruland."
className="admin"
src="https://avatars.githubusercontent.com/u/17872422?v=4"
/>
<h4>
Sarah Lilly-Bruland
</h4>
<h5>
Admin Emeritus
</h5>
</div>
<div>
<img
alt="beautiful headshot of Justin Woodward."
className="admin"
src="https://avatars.githubusercontent.com/u/17994108?v=4"
/>
<h4>
Kevin
Justin Woodward
</h4>
<h5>
Admin Emeritus
</h5>
</div>
</div>
</div>
Expand Down