roschaefer 9da40c4895 fix: avoid many scrollTo calls for n components
Thank you @vbelolapotkov for pointing out the flaws here:
https://github.com/Human-Connection/Human-Connection/pull/1756#discussion_r329361572

So here is my attempt to fix it:
* Install `vue-scrollto` which relies on `requestAnimationFrame`
  - apparently this is better on Safari and IE? 🤔
  - Mocking out entire modules is easier in jest:
    https://jestjs.io/docs/en/bypassing-module-mocks
* Require `checkAnchor` to be implemented on the component
2019-10-01 11:55:18 +02:00
..
2019-09-29 14:28:38 +02:00
2019-09-20 20:05:27 +02:00
2019-09-12 18:33:50 +02:00
2019-09-22 22:21:12 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-09-22 23:27:56 +02:00
2019-07-03 08:51:39 -03:00
2019-09-22 22:21:12 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-09-16 11:41:50 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-09-29 14:28:38 +02:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00
2019-07-10 13:58:11 +02:00
2019-07-10 13:58:11 +02:00
2019-07-03 08:51:39 -03:00
2019-07-03 08:51:39 -03:00

Webapp

UI Screenshot

Installation

# install all dependencies
$ yarn install

Copy:

cp .env.template .env
cp cypress.env.template.json cypress.env.json

Configure the files according to your needs and your local setup.

Build for Development

# serve with hot reload at localhost:3000
$ yarn dev

Build for Production

# build for production and launch server
$ yarn build
$ yarn start

Styleguide

All reusable Components for example avatar should be done inside the Nitro-Styleguide repository.

Styleguide Screenshot

More information can be found here: https://github.com/Human-Connection/Nitro-Styleguide

If you need to change something in the styleguide and want to see the effects on the frontend immediately, then we have you covered. You need to clone the styleguide to the parent directory ../Nitro-Styleguide and run yarn && yarn run dev. After that you run yarn run dev:styleguide instead of yarn run dev and you will see your changes reflected inside the frontend!