Un widget de navigation pour les différents sites caracals
| dist | ||
| .gitignore | ||
| main-badge.js | ||
| package.json | ||
| README.md | ||
| style.css | ||
| webpack.config.js | ||
Inspired by: github-fork-ribbon-css Using Webpack
Install
npm install .
Build
npm run prod
The JS bundle is then located in dist/ folder.
Usage
Just add (orientation can be left-bottom, right-bottom, right-top or left-top):
<script src="path/to/caracals-badge.js" orientation="left-bottom"></script>