Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added tweet button.

  • Loading branch information...
commit b08495a5edddcdd9ed0c1356cfb5c6a75cc8b244 1 parent 8633f67
@berkerpeksag authored
Showing with 10 additions and 0 deletions.
  1. +4 −0 static/css/screen.css
  2. +6 −0 templates/index.html
View
4 static/css/screen.css
@@ -124,6 +124,10 @@ h1 span {
#form-right-column {
margin-left: 300px;
}
+#tweet {
+ float: right;
+ width: 81px;
+}
#api-samples {
font-size: 12px;
padding-top: 2px;
View
6 templates/index.html
@@ -60,6 +60,11 @@
</div>
</div>
<div id="form-right-column">
+ <div id="tweet">
+ <a href="https://twitter.com/share" class="twitter-share-button"
+ data-count="horizontal" data-text="I just got my @github badge with a cool commit graph from"
+ data-url="http://githubbadge.appspot.com/" data-hashtags="ghbadge">Tweet</a>
+ </div>
<input type="checkbox" id="hackers">
<label for="hackers">All your JSON-API belong to us!</label>
<div id="api-samples">
@@ -165,5 +170,6 @@
};
})();
</script>
+<script src="//platform.twitter.com/widgets.js"></script>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.