Closes #1089 and updates intro video on home/download pages

This commit is contained in:
netop://ウエハ 2019-08-08 15:01:58 -05:00
parent 83adc75455
commit 74c083b0c3
4 changed files with 37 additions and 32 deletions

View file

@ -1,3 +1,3 @@
<figure class="video"> <figure class="video">
<video src="https://spee.ch/@lbry:3f/hellolbry-forweb.mp4" poster="https://spee.ch/@thumbnails:e7b0620f6e5a56031cbfc8b9373b02d6ed63c39c/hellolbry-forweb-thumb.jpg" controls/> <video src="https://spee.ch/@PremiumTrends:7/LBRYApp.mp4" poster="https://spee.ch/@thumbnails:e7b0620f6e5a56031cbfc8b9373b02d6ed63c39c/hellolbry-forweb-thumb.jpg" controls/>
</figure> </figure>

View file

@ -29,15 +29,17 @@
<?php endif ?> <?php endif ?>
</div> </div>
<?php if ($os === OS::OS_ANDROID): ?>
<figure> <figure>
<img <img
alt="Screenshot of LBRY" alt="Screenshot of LBRY"
src="<?php echo $osScreenshotSrc ?>"
<?php if ($os === OS::OS_ANDROID): ?>
class="tall" class="tall"
<?php endif ?> src="<?php echo $osScreenshotSrc ?>"
/> />
</figure> </figure>
<?php else: ?>
<?php echo View::render('download/_videoIntro') ?>
<?php endif ?>
<?php else: ?> <?php else: ?>

View file

@ -11,7 +11,7 @@
<div class="notice notice-error spacer1"><?php echo $error ?></div> <div class="notice notice-error spacer1"><?php echo $error ?></div>
<?php else: ?> <?php else: ?>
<form id="<?php echo $formId ?>" novalidate style="display: none"> <form id="<?php echo $formId ?>" novalidate style="display: none">
<section class="email-section"> <section class="email-section" style="position: relative;">
<h4><?php echo count($emails) > 1 ? 'Receiving Addresses' : 'Do You Want To Receive Mail?' ?></h4> <h4><?php echo count($emails) > 1 ? 'Receiving Addresses' : 'Do You Want To Receive Mail?' ?></h4>
<?php if (count($emails) > 1): ?> <?php if (count($emails) > 1): ?>
<div class="meta spacer-half">Uncheck all boxes if you want to receive no future messages.</div> <div class="meta spacer-half">Uncheck all boxes if you want to receive no future messages.</div>
@ -32,7 +32,7 @@
<?php endforeach ?> <?php endforeach ?>
</section> </section>
<section class="tag-section spacer1"> <section class="tag-section spacer1" style="position: relative;">
<h4>Fine-tune your Mail</h4> <h4>Fine-tune your Mail</h4>
<div class="notice notice-error hide spacer-half"></div> <div class="notice notice-error hide spacer-half"></div>
<div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div> <div class="notice notice-success hide spacer-half">Your email preferences have been updated.</div>

View file

@ -9,10 +9,13 @@
} }
.notice { .notice {
top: -0.5rem; right: 0;
border: 1px solid var(--lbry-gray-1); border: 1px solid var(--lbry-gray-1);
font-size: 0.8rem; font-size: 0.8rem;
margin-bottom: 0.5rem; // margin-bottom: 0.5rem;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
position: absolute;
[href] { [href] {
text-decoration: underline; text-decoration: underline;