Skip to content

BensonLiao/Mazu-Did-Not-Say-That-Shit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mazu did not say that shit

You can interact with it almost like a real Facebook post.

How does it work:

Mocking page for a Facebook post, which is inspire by ididnotsaythatshit. This project build from create-react-app, redux , styled-components to mock the style and provide some additional user interaction (eg. 按讚、留言、編輯、刪除或隱藏留言) of a Facebook post. There's also a Typescript version.

Data are also mocked as a static js object to simplify the page, and will be released a version of fully intergrated frontend & backend version of this page.

Available interactions

  1. 對貼文按讚

reactToPost

  1. 對留言按讚

reactToComment

  1. 留言

commentToPost

  1. 隱藏或取消隱藏留言

toggleCommentVisible

  1. 編輯留言

editComment

  1. 刪除留言

deleteComment

Or

deleteCommentOnEdit

Demo

Demo page are available here.

Storybook

There's also a storybook to see how components works as standalone UI:

Storybook

Run at local

Clone and install dependencies

yarn install

Run project

yarn start

then you can access http://localhost:3000

Author

Benson Liao