Un widget de navigation pour les différents sites caracals
Go to file
2021-12-27 18:23:22 +01:00
dist New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00
.gitignore New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00
main-badge.js New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00
package.json New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00
README.md New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00
style.css Rename style sheet 2021-12-27 17:36:02 +01:00
webpack.config.js New version (with orientation and better doc) 2021-12-27 18:23:22 +01:00

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>