Browse Source

Fix up tweets; remove google+

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
9e174f7591
  1. 1
      static/analytics.js
  2. 4
      static/explorer.css
  3. 5
      views/index.pug

1
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');
}
});

4
static/explorer.css

@ -54,6 +54,10 @@
min-width: 14em;
}
li.tweet {
padding: 3px 20px;
}
.diff-picker {
max-width: 20em;
width: 20em;

5
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

Loading…
Cancel
Save