Giter Site home page Giter Site logo

bensonliao / mazu-did-not-say-that-shit Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 11.27 MB

Mazu did not say that shit

Home Page: https://bensonliao.github.io/Mazu-Did-Not-Say-That-Shit

License: MIT License

HTML 2.20% JavaScript 97.80%
facebook-post storybook react redux styled-components create-react-app

mazu-did-not-say-that-shit's Introduction

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

mazu-did-not-say-that-shit's People

Contributors

bensonliao avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.