e2nguyen / Watcher

watcher-blond.vercel.app
2 stars 2 forks source link

[MVP]: Create Facebook based post component #48

Closed dianephan closed 3 years ago

dianephan commented 3 years ago

Description

Create a post that would mimic posts on existing social media sites. We want to create a reusable Facebook component here.

It should follow this structure:

<wrapper className="facebook-post">
  <avatar>
  {children} // children
  <imagecomponent>
  <socialMediaButtons>
</>

Branches

Potential solutions

Solution: Decided to hardcode the post information because later down the road, we'll be replacing the info with data fetched from a graphql query that will be done from within the components. This is to avoid unnecessary prop drilling. Eventually we should just be passing the user's id down into the post component and let the post component find that information and resolve itself.

Tasks

QA Notes

image

Deployment Notes

PR