diff --git a/view/template/acquisition/youtube.php b/view/template/acquisition/youtube.php index 580fad9f..579adb48 100644 --- a/view/template/acquisition/youtube.php +++ b/view/template/acquisition/youtube.php @@ -5,13 +5,13 @@ Response::addJsAsset('/js/yt2/SyncStatus.js'); Response::addJsAsset('/js/yt2/youtube_video.js'); if (in_array($_SERVER['REQUEST_URI'], ['/escapeyoutube'])) { - Response::setMetaTitle("Escape YouTube"); - Response::setMetaDescription("Put your content on the LBRY blockchain before it's too late"); - Response::addMetaImage('https://spee.ch/6/18OanRVGL6mQIMtj93Hb09te.jpeg'); + Response::setMetaTitle("Escape YouTube"); + Response::setMetaDescription("Put your content on the LBRY blockchain before it's too late"); + Response::addMetaImage('https://spee.ch/6/18OanRVGL6mQIMtj93Hb09te.jpeg'); } else { - Response::setMetaTitle("LBRY YouTube Partner Program"); - Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards."); - Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-partner.png'); + Response::setMetaTitle("LBRY YouTube Partner Program"); + Response::setMetaDescription("Put your content on the blockchain, experience true content freedom, and earn rewards."); + Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-partner.png'); } ?> @@ -98,7 +98,7 @@
-

Join the best creators already on LBRY

+

Join great creators already on LBRY

Audiences range from 1,000+ to 10,000,000+ people. The videos below are from creators who have synced their content to LBRY.

@@ -140,20 +140,19 @@
-

Getting credits for your channel

-

Depending on the number of subscribers you have on YouTube when you claim your channel, you will qualify for different lump sums of LBC.

+

What you earn

+

Depending on the number of subscribers you have on YouTube when you claim your channel, you will qualify for different grants of LBC, the token that powers the LBRY network.

- Subscriber Levels - LBC + YouTube Audience

- + - + @@ -161,12 +160,22 @@ $rewardAmt): ?> - - + +
Your Current YouTube SubscribersCurrent YouTube Subscribers LBC TokensUSD ValueUSD Value 1 LBC =
LBC LBC
+ +

+ Views on LBRY +

+

Receive 2-10 LBC ( - ) per view from verified lbry.tv accounts.

+ +

+ Follows on LBRY +

+

You receive additional awards for building an audience, starting with your first follower and continuing at various tiers.

@@ -206,7 +215,7 @@
-

Sync & Earn

+

Sync & earn

LBRY offers a single-click sync process for existing YouTubers.


@@ -224,7 +233,7 @@
-

Human Available

+

Human available

Questions, problems, or feedback? A real human is available.

diff --git a/web/js/yt2/app.js b/web/js/yt2/app.js index a2d3ce40..f305ff94 100644 --- a/web/js/yt2/app.js +++ b/web/js/yt2/app.js @@ -65,17 +65,17 @@ App.prototype._onReadyStateChange = function(e) { if (this._xhr.readyState === 4) { if (this._xhr.status === 200) { const response = JSON.parse(this._xhr.responseText); - const lines = document.querySelectorAll("[data-id*='amount-']"); + const lines = document.querySelectorAll(".lbc-to-usd"); const price = parseFloat(response.data.lbc_usd); lines.forEach(function(line) { - const amount = line.dataset.id.split("-")[1]; - const total = amount * price; + const amount = line.dataset.lbcAmount; + const total = amount * price; //api returns per month line.innerHTML = this._addCommas(total.toFixed(2)) + " USD"; }, this); - document.getElementsByClassName("current-value")[0].innerHTML = `(${price.toFixed(4)} USD)`; + document.getElementsByClassName("current-value")[0].innerHTML = `$${price.toFixed(4)} USD`; } } };