From 9e174f759195fe58af02de4d5b5388753f2a6b6c Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Wed, 29 Mar 2017 20:02:50 -0500 Subject: [PATCH] Fix up tweets; remove google+ --- static/analytics.js | 1 - static/explorer.css | 4 ++++ views/index.pug | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/analytics.js b/static/analytics.js index e18ba4cd..4413592e 100644 --- a/static/analytics.js +++ b/static/analytics.js @@ -119,7 +119,6 @@ define(function (require) { } if (options.sharingEnabled) { - create_script_element('gp', 'https://apis.google.com/js/plusone.js'); create_script_element('twitter-wjs', '//platform.twitter.com/widgets.js'); } }); diff --git a/static/explorer.css b/static/explorer.css index 2be582b4..04bf9521 100644 --- a/static/explorer.css +++ b/static/explorer.css @@ -54,6 +54,10 @@ min-width: 14em; } +li.tweet { + padding: 3px 20px; +} + .diff-picker { max-width: 20em; width: 20em; diff --git a/views/index.pug b/views/index.pug index f45ef92e..d5d712cb 100644 --- a/views/index.pug +++ b/views/index.pug @@ -51,11 +51,8 @@ html(lang="en") |   Source on GitHub li: a(href="https://github.com/mattgodbolt/compiler-explorer/wiki") Wiki li: a(href="https://github.com/mattgodbolt/compiler-explorer/issues") Report an issue - li.divider if sharingEnabled - li: g:plusone(annotation="inline" width="150") - li: a.twitter-share-button(href="https://twitter.com/share" data-via="mattgodbolt") - li.divider + li.tweet: a.twitter-share-button(href="https://twitter.com/share" data-via="mattgodbolt") li#thanks-to: a(href="#") Thanks to... li: a(href="https://xania.org/201609/how-compiler-explorer-runs-on-amazon") How it works li: a(href="mailto:matt@godbolt.org") Contact the author