Skip to content

Commit

Permalink
Removing Twitter and better icons
Browse files Browse the repository at this point in the history
  • Loading branch information
rpanachi committed Sep 1, 2024
1 parent c5f91f2 commit 9f29199
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 88 deletions.
3 changes: 1 addition & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ quiet: false
url: https://rpanachi.com
author: Rodrigo Panachi
description: Rodrigo Panachi's tech blog
bio: A Software Engineer that like to code and learn new things. Follow my thoughts on <a href="https://twitter.com/rpanachi">Twitter</a>, fork my code on <a href="https://github.com/rpanachi">Github</a> and hire me on <a href="https://linkedin.com/in/rpanachi">Linkedin</a>.
bio: A Software Engineer that like to code and learn new things. Subscribe to my <a href="https://feeds.feedburner.com/rpanachi" target="_blank">RSS feed</a> to stay tuned, check my code on <a href="https://github.com/rpanachi">Github</a> and hire me on <a href="https://linkedin.com/in/rpanachi">Linkedin</a>.

# Custom Configs
disqus_id: rpanachi
google_analytics: 'G-HHZCBHXG3L'
links:
github: https://github.com/rpanachi
twitter: https://twitter.com/rpanachi
feed: https://feeds.feedburner.com/rpanachi
linkedin: https://linkedin.com/in/rpanachi
twitter:
Expand Down
5 changes: 0 additions & 5 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ <h1>Rodrigo Panachi</h1>
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
</svg>
</a>
<a href="{{ site.links.twitter }}" title="Twitter">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
</svg>
</a>
<a href="{{ site.links.feed }}" title="RSS Feed">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19.199 24C19.199 13.467 10.533 4.8 0 4.8V0c13.165 0 24 10.835 24 24h-4.801zM3.291 17.415c1.814 0 3.293 1.479 3.293 3.295 0 1.813-1.485 3.29-3.301 3.29C1.47 24 0 22.526 0 20.71s1.475-3.294 3.291-3.295zM15.909 24h-4.665c0-6.169-5.075-11.245-11.244-11.245V8.09c8.727 0 15.909 7.184 15.909 15.91z"/>
Expand Down
17 changes: 9 additions & 8 deletions _includes/share.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="https://twitter.com/share?text={{page.title}}&amp;url={{site.url}}{{page.url}}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
<a class="icon-link" href="{{site.url}}{{page.url}}">
<span class="hidden">Link</span>
</a>
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{site.url}}{{page.url}}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
<a class="icon-envelop" href="mailto:?subject={{page.title}}&body={{site.url}}{{page.url}}">
<span class="hidden">E-mail</span>
</a>
<a class="icon-linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url={{site.url}}{{page.url}}"
onclick="window.open(this.href, 'linkedin-share', 'width=490,height=530');return false;">
<a class="icon-linkedin" href="https://www.linkedin.com/sharing/share-offsite/?url={{site.url}}{{page.url}}" onclick="window.open(this.href, 'linkedin-share', 'width=490,height=530');return false;" title="Linkedin">
<span class="hidden">Linkedin</span>
</a>
<a class="icon-facebook2" href="https://www.facebook.com/sharer/sharer.php?u={{site.url}}{{page.url}}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
</section>
97 changes: 43 additions & 54 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,69 +103,58 @@ table { border-collapse: collapse; border-spacing: 0; }
1. Icons - Sets up the icon font and respective classes
========================================================================== */

/* Import the font file with the icons in it */
@font-face {
font-family: "casper-icons";
src:url("../fonts/casper-icons.eot");
src:url("../fonts/casper-icons.eot?#iefix") format("embedded-opentype"),
url("../fonts/casper-icons.woff") format("woff"),
url("../fonts/casper-icons.ttf") format("truetype"),
url("../fonts/casper-icons.svg#icons") format("svg");
font-weight: normal;
font-style: normal;
}

/* Apply these base styles to all icons */
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "casper-icons", "Open Sans", sans-serif;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
text-decoration: none !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'icomoon';
src: url('../fonts/icomoon.eot?cxcj6q');
src: url('../fonts/icomoon.eot?cxcj6q#iefix') format('embedded-opentype'),
url('../fonts/icomoon.ttf?cxcj6q') format('truetype'),
url('../fonts/icomoon.woff?cxcj6q') format('woff'),
url('../fonts/icomoon.svg?cxcj6q#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-profile:before {
content: "\e923";
}
.icon-envelop:before {
content: "\e945";
}

/* Each icon is created by inserting the correct character into the
content of the :before pseudo element. Like a boss. */
.icon-ghost:before {
content: "\f600";
.icon-link:before {
content: "\e9cb";
}
.icon-feed:before {
content: "\f601";
.icon-facebook2:before {
content: "\ea91";
}
.icon-twitter:before {
content: "\f602";
font-size: 1.1em;
}
.icon-linkedin:before {
content: "\f608";
font-size: 1em;
}
.icon-google-plus:before {
content: "\f603";
content: "\ea96";
}
.icon-facebook:before {
content: "\f604";
.icon-rss2:before {
content: "\ea9c";
}
.icon-arrow-left:before {
content: "\f605";
.icon-github:before {
content: "\eab0";
}
.icon-stats:before {
content: "\f606";
}
.icon-location:before {
content: "\f607";
margin-left: -3px; /* Tracking fix */
}
.icon-link:before {
content: "\f608";
.icon-linkedin:before {
content: "\eac9";
}


/* ==========================================================================
2. General - Setting up some base styles
========================================================================== */
Expand Down Expand Up @@ -968,7 +957,7 @@ body:not(.post-template) .post-title {
.post-footer .share a {
font-size: 1.8rem;
display: inline-block;
margin: 1rem 1.6rem 1.6rem 0;
margin: 1rem 1.2rem 1.6rem 0;
color: #BBC7CC;
text-decoration: none;
}
Expand Down
Binary file removed assets/fonts/casper-icons.eot
Binary file not shown.
19 changes: 0 additions & 19 deletions assets/fonts/casper-icons.svg

This file was deleted.

Binary file removed assets/fonts/casper-icons.ttf
Binary file not shown.
Binary file removed assets/fonts/casper-icons.woff
Binary file not shown.
Binary file added assets/fonts/icomoon.eot
Binary file not shown.
18 changes: 18 additions & 0 deletions assets/fonts/icomoon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/icomoon.ttf
Binary file not shown.
Binary file added assets/fonts/icomoon.woff
Binary file not shown.

0 comments on commit 9f29199

Please sign in to comment.