Closed bnonni closed 11 months ago
We should have a page for our team in the abbot/frontend folder. Add a team page and include team member profile pictures and bios.
Func Requirements
team.tsx
frontend/pages
Code Design Suggestions
index.tsx
export default function Team()
<main></main>
components/
Member.tsx
Member
.map
const members = [ { "name": "bryan", "image": "@/public/team/bryan.jpg", "bio": "Bitcoin ipsum dolor sit amet..." }, { "name": "brandon", "image": "@/public/team/brandon.jpg", "bio": "Bitcoin ipsum dolor sit amet...." } ]
Then down below in the <main> tag:
<main>
{ members.map(member => <Member {...member} />) }
We should have a page for our team in the abbot/frontend folder. Add a team page and include team member profile pictures and bios.
Func Requirements
team.tsx
file infrontend/pages
Code Design Suggestions
index.tsx
page into ateam.tsx
fileexport default function Team()
<main></main>
tagscomponents/
folder calledMember.tsx
Member
component with divs and an img tag passing in the image url and bios as Props.map
inindex.tsx
to iterate over objects for each team member that look like soThen down below in the
<main>
tag: