Commit Graph

5 Commits

Author SHA1 Message Date
Patrick East 418d7334ea website: Replace homepage with new version
This integrates the new https://openpolicyagent.org/ home page
contents into the site build.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-11-17 19:07:05 -08:00
lphamilton 3f82fcd587 added condition to check if animateScrollTop has scrolled as far as possible to prevent function from never ending at any zoom level
Signed-off-by: lphamilton <lphamilton@berkeley.edu>
2019-05-02 14:11:45 -06:00
lphamilton 8ee78345b9 refactor animateScrollTop method to scroll on safari with pageYOffset. Math.floor added so function does not run indefinitely
Signed-off-by: lphamilton <lphamilton@berkeley.edu>
2019-04-30 10:51:37 -07:00
Patrick East ed3c908a6f Add anchor-js for anchor links on headers
It’s a small lib to package in. Figured this was easier than messing
with node modules or pulling it from a CDN.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-04-26 17:32:24 -07:00
Patrick East 58d336aff9 Refactor doc directories
Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-04-26 17:12:15 -07:00