Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding follow buttons

  • Loading branch information...
commit 260391082c72c6373c516402006ab6ffebd99896 1 parent 0f0d0e5
@winton authored
Showing with 38 additions and 2 deletions.
  1. +19 −2 site/index.html.haml
  2. +19 −0 site/stasis.css.scss
View
21 site/index.html.haml
@@ -16,9 +16,26 @@
%img{ :src => 'stasis.png' }>
stasis
%img.reverse{ :src => 'stasis.png' }>
- #tm Static Sites Made Powerful
+ #share
+ %br/
+ %iframe{ :src => "http://markdotto.github.com/github-buttons/github-btn.html?user=winton&repo=stasis&type=watch&count=true", :allowtransparency => "true", :frameborder => "0", :scrolling => "0", :width => "110px", :height => "20px" }
+ %a{ :href => "https://twitter.com/wintonius", :class => "twitter-follow-button", 'data-show-count' => "false" } Follow @wintonius
+ #tm
+ Static Sites Made Powerful
#body
~ @readme
.clear
+ %h3
+ %a{ :name => "thanks", :href => "#thanks" } Thanks
+ %p
+ Please follow the project on Github:
+ %br/
+ %iframe{ :src => "http://markdotto.github.com/github-buttons/github-btn.html?user=winton&repo=stasis&type=watch&count=true", :allowtransparency => "true", :frameborder => "0", :scrolling => "0", :width => "110px", :height => "20px" }
+ %br/
+ Follow Winton Welsh on Twitter for updates:
+ %br/
+ %a{ :href => "https://twitter.com/wintonius", :class => "twitter-follow-button", 'data-show-count' => "false" } Follow @wintonius
%script{ :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js", :type => "text/javascript" }
- %script{ :src => "stasis.js", :type => "text/javascript" }
+ %script{ :src => "stasis.js", :type => "text/javascript" }
+ :javascript
+ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
View
19 site/stasis.css.scss
@@ -90,6 +90,25 @@ ul {
}
}
+#share {
+ margin-top: -20px;
+ text-align: center;
+
+ a, iframe {
+ margin-top: 20px;
+ opacity: 0.6;
+ }
+
+ a:hover, iframe:hover {
+ opacity: 1;
+ }
+
+ iframe {
+ margin-left: 4px;
+ margin-right: 5px;
+ }
+}
+
#tm {
font-size: 19.4px;
font-weight: 700;
Please sign in to comment.
Something went wrong with that request. Please try again.