bower install reggi/polymer-github-ribbon --save
Drop the following lines within the <head>
tag.
<script src="./bower_components/platform/platform.js"></script>
<link rel="import" href="./bower_components/polymer-github-ribbon/github-ribbon.html">
To create a new banner use the <github-ribbon>
tag.
<github-ribbon href="https://github.com/reggi/polymer-github-banner"></github-ribbon>
The url to the github repo. (required)
The color of the ribbon.
- red
- green
- black (default)
- orange
- gray
- white
Which side of the page the ribbon will show on.
- right (default)
- left
Source: Github Ribbons