-
The structure of this project is based around Atomic Design. Information on Atomic Design can be found here http://atomicdesign.bradfrost.com/chapter-2/.
-
Individual elements like h1 tags, are defined inside the 'atoms' folder. Components that take multiple atoms, like the madlib-form, are 'molecules', and groups of molecules are organisms.
-
Flexbox is used to position elements, and breakpoints are used to make the app mobile-compatible. The structure was built from a mobile-first approach, so elements do shift upon re-sizing of the browser.
- Clone Repo
- Run
touch .env
and copy input from.env.example
into it - Run
yarn install
- Run
npm start
and open browser to port 3200
- View here https://cms-demo-sparta.herokuapp.com