Skip to content

Commit

Permalink
Fancy pants new design (#170)
Browse files Browse the repository at this point in the history
* Initial header work

* Got a few more sections in

* Added remaining sections from design

Still need to add correct content in some sections, along with correct images

* Got most of the content up

* Upgrade dependencies

* Show screenshots and statistics

* Hit API once per minute

* Bump ini from 1.3.5 to 1.3.8

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

* Show screenshots and statistics

* Good enough for now

* Update husky to v5

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
mrozbarry and dependabot[bot] committed Feb 25, 2021
1 parent e605ba6 commit c889d19
Show file tree
Hide file tree
Showing 20 changed files with 1,349 additions and 1,757 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
30 changes: 30 additions & 0 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh
if [ -z "$husky_skip_init" ]; then
debug () {
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
}

readonly hook_name="$(basename "$0")"
debug "starting $hook_name..."

if [ "$HUSKY" = "0" ]; then
debug "HUSKY env variable is set to 0, skipping hook"
exit 0
fi

if [ -f ~/.huskyrc ]; then
debug "sourcing ~/.huskyrc"
. ~/.huskyrc
fi

export readonly husky_skip_init=1
sh -e "$0" "$@"
exitCode="$?"

if [ $exitCode != 0 ]; then
echo "husky - $hook_name hook exited with code $exitCode (error)"
exit $exitCode
fi

exit 0
fi
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

node_modules/.bin/lint-staged
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"lint": "prettier-eslint .",
"deploy": "node ./deploy/index.js",
"test": "ava",
"test:coverage": "nyc ava"
"test:coverage": "nyc ava",
"postinstall": "husky install"
},
"dependencies": {
"@mrbarrysoftware/js-enumerize": "^1.1.0",
Expand All @@ -40,8 +41,9 @@
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.20.1",
"husky": ">=4",
"husky": "^5",
"lint-staged": ">=10",
"morgan": "^1.10.0",
"nyc": "^15.1.0",
"resolve": "^1.15.1",
"sinon": "^9.0.3"
Expand Down Expand Up @@ -75,4 +77,4 @@
"lint-staged": {
"*.js": "prettier-eslint --write"
}
}
}
1 change: 1 addition & 0 deletions public/images/Database.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/Digital Agreement.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/Hockey stick growth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/Startup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c889d19

Please sign in to comment.