Skip to content
Permalink
Browse files

#18 removed twitter and github js and implemented social sharing via …

…shariff
  • Loading branch information
flxn committed Jan 12, 2020
1 parent 5a79c18 commit 046554637827ee614aa734428cdf54a80173a73e
@@ -5,4 +5,5 @@ misc/stats.txt
misc/nodes.txt
.vscode/
*.db
.env
.env
.DS_Store
BIN +127 KB css/fa-brands-400.eot
Binary file not shown.

Large diffs are not rendered by default.

BIN +126 KB css/fa-brands-400.ttf
Binary file not shown.
BIN +85.5 KB css/fa-brands-400.woff
Binary file not shown.
Binary file not shown.
BIN +33.6 KB css/fa-regular-400.eot
Binary file not shown.

Large diffs are not rendered by default.

BIN +33.3 KB css/fa-regular-400.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN +182 KB css/fa-solid-900.eot
Binary file not shown.

Large diffs are not rendered by default.

BIN +182 KB css/fa-solid-900.ttf
Binary file not shown.
Binary file not shown.
BIN +72.6 KB css/fa-solid-900.woff2
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1,11 +1,10 @@
<!-- Primary Page Layout -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div class="container">
<div class="row">
<div class="twelve columns">
<div class="row">
<div class="twelve columns">
<h2>2) Installation <a href="https://twitter.com/share" class="twitter-share-button"{count} data-url="https://tor-relay.co" data-text="I'm now operating my own Tor Relay. Set up yours today!" data-via="torrelayco" data-size="large" data-hashtags="SupportTor">Share</a></h2>
<h2>2) Installation</h2>
<p>
Run the following command to set up your Tor relay:<br>
<i>Only run this script if your hoster/ISP allows Tor!</i>
@@ -23,6 +22,9 @@
<?php endif; ?>
<h3>Torrc Preview</h3>
<pre><code><?php echo htmlspecialchars($torrc, ENT_QUOTES, 'UTF-8'); ?></code></pre>
<h4>2.1) Spread the word</h3>
<p>Share your contribution with your friends to help make the Tor network even bigger.</p>
<div class="shariff" data-lang="en" data-title="I am now running my own Tor node. Set up your own:" data-theme="white" data-orientation="horizontal" data-twitter-via="torrelayco" data-services="['twitter', 'facebook', 'threema', 'telegram', 'whatsapp', 'mail']"></div>
</div>
</div>
<div class="row">
@@ -23,6 +23,7 @@
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/shariff.complete.css">
<link rel="stylesheet" href="css/style.css">

<!-- Favicon
@@ -92,20 +93,19 @@
<div class="row">
<div class="twelve columns">
<div class="row footer">
If you have a problem/question/suggestion email me at <b>mail [at] flxn [dot] de</b> | <a href="https://flxn.de">More of my stuff</a>
If you have a problem/question/suggestion email me at <b>mail [at] flxn [dot] de</b>
| <a href="https://flxn.de">More of my stuff</a>
| <a href="https://github.com/flxn/tor-relay-configurator" rel="nofollow" role="button" aria-label="flxn/tor-relay-configurator">
<span class="fab fa-github"></span>
<span class="share_text">View this project on GitHub</span>
</a>
</div>
<div class="row">
<a href="https://ko-fi.com/flxn256" target="_blank">💵☕️ Buy me a coffee... or a tea, or a Club Mate (I actually don't like coffee)</a> | Website currently at commit: <a href="https://github.com/flxn/tor-relay-configurator/commit/<?=$currentCommit?>"><?=$currentCommit?></a>
</div>
<div class="row footer2">
<div class="six columns offset-by-three">
<div class="six columns">
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/flxn/tor-relay-configurator" data-style="mega" aria-label="flxn/tor-relay-configurator">View on GitHub</a>
</div>
<div class="six columns">
<a href="https://twitter.com/torrelayco" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @torrelayco</a>
</div>
<div class="twelve columns">
<div class="shariff" data-lang="en" data-title="Set up your own Tor node and contribute to privacy on the internet." data-theme="white" data-orientation="horizontal" data-twitter-via="torrelayco" data-services="['twitter', 'facebook', 'threema', 'telegram', 'whatsapp', 'mail']"></div>
</div>
</div>
</div>
@@ -116,24 +116,12 @@
<script src="js/jquery.min.js"></script>
<script src="js/moment.min.js"></script>
<script src="js/Chart.min.js"></script>
<script src="js/shariff.min.js"></script>
<script>
var bandwidthChartData = <?=$bandwidthChartData?>;
var nodesChartData = <?=$nodesChartData?>;
</script>
<script src="js/main.js"></script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<script>
! function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];

0 comments on commit 0465546

Please sign in to comment.
You can’t perform that action at this time.