lbry.com/view/template/download/get.php
ポール ウェッブ 87d594469f Redesign
2019-04-05 16:19:51 -05:00

57 lines
1.5 KiB
PHP

<?php Response::setMetaDescription(__('description.get')) ?>
<?php Response::addMetaImage(Request::getHostAndProto() . '/img/lbry-ui.png') ?>
<?php NavActions::setNavUri('/get') ?>
<main class="ancillary">
<section class="hero hero--half-height">
<div class="inner-wrap inner-wrap--center-hero">
<h1>
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
</h1>
</div>
</section>
<section>
<div class="inner-wrap">
<?php if ($downloadUrl): ?>
<div style="margin-bottom: 2rem; text-align: center;">
<p>Securely download the LBRY app here, and see what all the fuss is about!</p>
<?php $metaHtml = $os !== OS::OS_ANDROID ? View::Render('download/_meta') : false ?>
<?php echo View::Render('download/_downloadButton', [
'buttonStyle' => 'primary'
])?>
<br/><br/>
<?php if ($metaHtml): ?>
<?php echo $metaHtml ?>
<?php endif ?>
</div>
<figure>
<img src="<?php echo $osScreenshotSrc ?>" alt="Screenshot of LBRY"/>
</figure>
<?php else: ?>
<p>{{download.unavailable}}</p>
<?php echo View::render('mail/_subscribeForm', [
'tag' => $os,
'submitLabel' => 'Join List',
'hideDisclaimer' => true,
'largeInput' => true,
'btnClass' => 'btn-alt btn-large',
]) ?>
<?php endif ?>
</div>
</section>
<section>
<div class="inner-wrap">
<?php echo View::render('download/_list', ['excludeOs' => $os]) ?>
</div>
</section>
</main>