mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-23 05:02:48 +01:00
Another react updated
This commit is contained in:
15
react/analytics.js
Normal file
15
react/analytics.js
Normal file
@@ -0,0 +1,15 @@
|
||||
(function() {
|
||||
|
||||
if(window.location.host != 'bitwisecmd.com' || window.location.hash.indexOf('-notrack') > -1) {
|
||||
console.log("Analytics not tracked")
|
||||
return;
|
||||
}
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-61569164-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
})();
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -90,6 +90,8 @@ code { font-size: 1.2em; font-weight: bold; }
|
||||
.top-links .link-text { display: none }
|
||||
}
|
||||
|
||||
.social-container{ position:fixed; bottom:10px; right:10px }
|
||||
|
||||
/* Remove margin space on body. Inline top links with header */
|
||||
@media (max-width: 700px) {
|
||||
body { padding: 10px; }
|
||||
|
||||
BIN
react/img/social-avatar.png
Normal file
BIN
react/img/social-avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
@@ -2,14 +2,34 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="Bitwise Calculator. Visualised Bitwise Operations.">
|
||||
<meta name="description" content="Free Text Online Bitwise Calculator">
|
||||
|
||||
<title>BitwiseCmd</title>
|
||||
<link rel="shortcut icon" href="http://bitwisecmd.com/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="css/styles.css" />
|
||||
|
||||
<meta property="og:url" content="http://bitwisecmd.com" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="BitwiseCmd" />
|
||||
<meta property="og:description" content="Free Text Online Bitwise Calculator" />
|
||||
<meta property="og:image" content="http://bitwisecmd.com/img/social-avatar.png" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="root">Ooops... Something went wrong ¯\_(ツ)_/¯</div>
|
||||
<script src="bundle.js"></script>
|
||||
<script src="analytics.js"></script>
|
||||
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) return;
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));</script>
|
||||
|
||||
<div class="social-container">
|
||||
<div class="fb-like" data-href="http://bitwisecmd.com" data-layout="box_count" data-action="like" data-show-faces="false" data-share="true"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
21
src/bundle.js
Normal file
21
src/bundle.js
Normal file
File diff suppressed because one or more lines are too long
1
src/bundle.js.map
Normal file
1
src/bundle.js.map
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user