diff --git a/view/page/why.php b/view/page/why.php
index 9b330816..ef06a733 100644
--- a/view/page/why.php
+++ b/view/page/why.php
@@ -8,7 +8,7 @@
- If you made the fuckin' music, and you made the art, and you put it into the world, I should be able to use it however the fuck I want. I'ma pay you, I'ma give you a percentage, but you shouldn't be able to tell me I can't use it. You was inspired by the world; allow the world to be inspired by your shit and to use your shit.
+ If you made the music, and you made the art, and you put it into the world, I should be able to use it however I want. I'ma pay you, I'ma give you a percentage, but you shouldn't be able to tell me I can't use it. You was inspired by the world; allow the world to be inspired by your shit and to use your shit.
J. Cole, Note to Self
diff --git a/web/img/alex-tabarrok-644x450.jpg b/web/img/alex-tabarrok-644x450.jpg
new file mode 100644
index 00000000..89879fd2
Binary files /dev/null and b/web/img/alex-tabarrok-644x450.jpg differ
diff --git a/web/img/cover-home-full.jpg b/web/img/cover-home-full.jpg
new file mode 100644
index 00000000..6ac04c73
Binary files /dev/null and b/web/img/cover-home-full.jpg differ
diff --git a/web/img/jack-robison-644x450.jpg b/web/img/jack-robison-644x450.jpg
new file mode 100644
index 00000000..412d2459
Binary files /dev/null and b/web/img/jack-robison-644x450.jpg differ
diff --git a/web/js/global.js b/web/js/global.js
index 5ef9d57b..676e0317 100644
--- a/web/js/global.js
+++ b/web/js/global.js
@@ -1,3 +1,5 @@
+document.domain = 'lbry.io';
+
jQuery.fn.extend({
jFor: function() {
var self = $(this),
@@ -20,6 +22,19 @@ $(document).ready(function() {
labelCycles = body.find('.label-cycle'); //should use better pattern but we have so little JS right now
body.on('click', 'a', onAnchorClick);
+
+ if (window.twttr)
+ {
+ twttr.ready(function (twttr) {
+ twttr.events.bind('follow', onTwitterFollow);
+ });
+ }
+
+ window.fbAsyncInit = function()
+ {
+ window.FB.Event.subscribe('edge.create', onFacebookLike);
+ };
+
//$(window).scroll(onBodyScroll);
if (labelCycles.length)
@@ -94,6 +109,17 @@ $(document).ready(function() {
.height(width * ratio);
}
}
+
+ function onTwitterFollow (intentEvent)
+ {
+ if (!intentEvent) return;
+ ga('send', 'social', 'Twitter', 'follow', window.location.href);
+ }
+
+ function onFacebookLike(url)
+ {
+ ga('send', 'social', 'Facebook', 'like', window.location.href);
+ }
$('.video > iframe').each(function() {
var iframe = $(this);
diff --git a/web/scss/_content.scss b/web/scss/_content.scss
index 40d216e3..239edab7 100644
--- a/web/scss/_content.scss
+++ b/web/scss/_content.scss
@@ -1,4 +1,10 @@
@import "global";
+.content-constrained
+{
+ max-width: $max-content-width; /*we have more padding than desirable so numbers from ol can exceed container*/
+ margin-left: auto;
+ margin-right: auto;
+}
.content
{
margin-left: auto;