diff --git a/controller/action/DownloadActions.class.php b/controller/action/DownloadActions.class.php index 4c9a58eb..b1e9a319 100644 --- a/controller/action/DownloadActions.class.php +++ b/controller/action/DownloadActions.class.php @@ -36,6 +36,8 @@ class DownloadActions extends Actions 'os' => $os, 'osTitle' => $osTitle, 'osIcon' => $osIcon, + 'hasMatchingInvite' => isset($_POST['invite']) && preg_match('/^(pfa|pfb).*$/', $_POST['invite']), + 'hasInvite' => isset($_POST['invite']) && $_POST['invite'], 'downloadHtml' => View::exists('download/' . $partial) ? View::render('download/' . $partial, ['downloadUrl' => static::getDownloadUrl($os)]) : false diff --git a/view/template/download/_videoIntro.php b/view/template/download/_videoIntro.php index 9c0e5ce1..631a4335 100644 --- a/view/template/download/_videoIntro.php +++ b/view/template/download/_videoIntro.php @@ -1,3 +1,3 @@
- +
\ No newline at end of file diff --git a/view/template/download/get-old.php b/view/template/download/get-old.php new file mode 100644 index 00000000..5e7179bf --- /dev/null +++ b/view/template/download/get-old.php @@ -0,0 +1,20 @@ + $osTitle])) ?> + + false]) ?> + +
+
+
+

LBRY for

+

LBRY is

+
+
+
+ $os + ]) ?> + +
+
+ + diff --git a/view/template/download/get.php b/view/template/download/get.php index 4003b5e6..730212b7 100644 --- a/view/template/download/get.php +++ b/view/template/download/get.php @@ -6,12 +6,27 @@

LBRY for

- - - - + + +
Please enter a valid code.
+ +

LBRY is currently in invite only mode. Enter your code below for access:

+
+
+ + +
+
- +

Your code does not grant access until July 4th, 2016. Enter your email address below for a reminder.

+ 'Go', + 'returnUrl' => '/get', + 'meta' => true, + 'btnClass' => 'btn-alt', + 'listId' => Mailchimp::LIST_GENERAL_ID, + 'mergeFields' => ['CLI' => 'No'], + ]) ?>
diff --git a/view/template/page/home.php b/view/template/page/home.php index 63c53307..dd5dfbc4 100644 --- a/view/template/page/home.php +++ b/view/template/page/home.php @@ -36,14 +36,14 @@ */ ?>
- Get LBRY + Early Access (invite code reqired)
Learn More
- +
diff --git a/view/template/page/learn.php b/view/template/page/learn.php index c9b867e7..4afaa1eb 100644 --- a/view/template/page/learn.php +++ b/view/template/page/learn.php @@ -5,7 +5,7 @@
-

LBRY in 60 Seconds

+

LBRY in 100 Seconds

diff --git a/web/scss/_form.scss b/web/scss/_form.scss index f181ad37..f9e5252d 100644 --- a/web/scss/_form.scss +++ b/web/scss/_form.scss @@ -7,8 +7,8 @@ label[for] cursor: pointer; } -input[type="email"], input[type="text"] -{ +input[type="email"], input[type="text"] +{ border: 0 none; border: 1px solid rgba(160,160,160,.5); padding-left: 5px; @@ -37,7 +37,7 @@ textarea margin-bottom: $spacing-vertical; } -.mail-submit +.mail-submit, .invite-submit { input {