Skip to content

Commit

Permalink
UPdates to social sharing image map
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen committed Sep 20, 2017
1 parent 325e654 commit b95bf53
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Pages/_SocialButtons.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
string text = System.Net.WebUtility.UrlEncode(Model);
}

<img id="social" src="~/img/social-buttons.png" width="112" height="31" alt="Social sharing buttons" usemap="#map" />
<img id="social" src="~/img/social-buttons.png" alt="Social sharing buttons" usemap="#map" />
<map name="map">
<area alt="Facebook" title="Share on Facebook" shape="rect" coords="0,0,32,30" href="https://www.facebook.com/sharer/sharer.php?u=@enc" />
<area alt="Twitter" title="Tweet it" shape="rect" coords="40,0,70,30" href="https://twitter.com/intent/tweet?source=@enc&text=@text" />
<area alt="Pinterest" title="Pin it" shape="rect" coords="80,0,110,30" href="http://pinterest.com/pin/create/button/?url=@enc&description=@text" />
<area alt="Pinterest" title="Pin it" shape="rect" coords="78,0,109,30" href="http://pinterest.com/pin/create/button/?url=@enc&description=@text" />
</map>
2 changes: 0 additions & 2 deletions src/web.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

<httpProtocol>
<customHeaders>
<!-- If not on Azure, you can safely remove this header -->
<add name="ARR-Disable-Session-Affinity" value="true"/>
<add name="X-Content-Type-Options" value="nosniff"/>
<remove name="X-Powered-By" />
</customHeaders>
Expand Down
2 changes: 0 additions & 2 deletions src/wwwroot/css/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ img {

#social {
margin-top: 1em;
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}

footer {
Expand Down
Binary file modified src/wwwroot/img/social-buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b95bf53

Please sign in to comment.