Skip to content

Commit

Permalink
Remove share icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mityalebedev committed Feb 22, 2020
1 parent 1e391e7 commit bd5e620
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 52 deletions.
20 changes: 0 additions & 20 deletions assets/scss/theme/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,5 @@
&:before {
content: "\e000";
}
}
&-twitter {
@extend %icon;
&:before {
content: "\e002";
font-size: 1.1em;
}
}
&-google-plus {
@extend %icon;
&:before {
content: "\e003";
}
}
&-facebook {
@extend %icon;
&:before {
content: "\e004";
}
}

}
15 changes: 0 additions & 15 deletions assets/scss/theme/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,5 @@
.author {
margin-right: 180px;
}
.share {
position: absolute;
top: 4rem;
right: 0;
width: 140px;
a {
font-size: 1.8rem;
display: inline-block;
margin: 1.4rem 1.6rem 1.6rem 0;
color: #BBC7CC;
&:hover {
color: #50585D;
}
}
}
}
}
17 changes: 0 additions & 17 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,6 @@
<p>{{primary_author.bio}}</p>
</section>
{{/if}}

<section class="share">
<h4>Share this</h4>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</section>

</footer>

{{/post}}
Expand Down

0 comments on commit bd5e620

Please sign in to comment.