Compare commits

...
Author SHA1 Message Date
Jeremy Kauffman bfc403e614 shipable? 2020-12-15 21:36:51 -05:00
Jeremy Kauffman 0a983bf60b halfway 2020-12-15 21:36:51 -05:00
8 changed files with 95 additions and 61 deletions

No files matched your search

+16 -4
View File
@@ -1,5 +1,17 @@
<div style="min-height: 40px; line-height: 40px;">
<?php echo View::render('download/_downloadButton', ['buttonStyle' => 'primary'])?>
<a href="https://lbry.tv" class="button button--inverse">Open in Browser</a>
<a href="/get?showall=1" class="button--link hide--mobile">show all platforms</a>
<div style=" display: flex; margin-top: 2rem;">
<div style="flex: 1; text-align: center;">
<div style="line-height: 32px;">
<?php echo View::render('download/_downloadButton', ['buttonStyle' => 'primary'])?>
</div>
<small style="margin-top: 2px; display: inline-block"><a href="/get?showall=1" class="button--link hide--mobile">other platforms</a></small>
</div>
<div style="flex: 1; text-align: center">
<a href="https://odysee.com">
<img style="height: 40px;" src="https://odysee.com/public/img/odysee.png" />
</a>
<br/>
<small class="meta" style=" display: inline-block; max-width: 160px">use LBRY in your browser, with <a class="button button--link" href="https://odysee.com">odysee.com</a></small>
</div>
</div>
+1 -1
View File
@@ -12,7 +12,7 @@
<ul>
<li>Use LBRY</li>
<li><a href="https://lbry.tv" title="Try lbry.tv">lbry.tv</a></li>
<li><strong><a href="https://odysee.com" title="Try odysee.com">odysee.com</a></strong></li>
<li><a href="/android" title="Get LBRY on Android">Android</a></li>
<li><a href="/linux" title="Get LBRY on Linux">Linux</a></li>
<li><a href="/ios" title="Get LBRY on iOS">iOS</a></li>
+1 -1
View File
@@ -251,7 +251,7 @@
<?php js_end() ?>
<span class="header__download">
<a href="https://open.lbry.com" class="button button--primary">Open LBRY</a>
<a href="https://open.lbry.com" class="button button--primary">Try LBRY</a>
</span>
</div>
</header>
+10 -14
View File
@@ -6,10 +6,11 @@
<div class="inner-wrap">
<aside class="home__cta">
<div class="home__cta-copy">
<h1>It's time to take back control from YouTube and Amazon.</h1>
<p><small class="meta">Top creators, self-respecting users, the privacy conscious, computer geeks, freedom lovers, loveable kooks, and readers of small gray text everywhere choose LBRY, because it's open, fair, and free.</small></p>
<h1>LBRY does to publishing,<br/>
what Bitcoin did to money.</h1>
<p><span class="meta">Join top creators and more than 10,000,000 people on LBRY, an open, free, and fair network for digital content.</span></p>
<?php echo View::render('download/_downloadRow') ?>
</div>
<?php echo View::render('download/_downloadRow') ?>
</aside>
<figure class="home__preview">
@@ -29,21 +30,16 @@
</section>
<section class="home__callout">
<p>LBRY is a secure, open, and community-run digital marketplace.</p>
<p>Enjoy the latest content from your favorite creators - as a user, not a product.</p>
</section>
<section class="home__hype">
<div class="inner-wrap">
<p>See previews of the LBRY app and the great content available now on LBRY.</p>
<br>
<iframe width="560" height="315" src="https://lbry.tv/$/embed/meetlbrytv/c6c0a5caa6cc391696e1270e33cd9d24ee7c2d52" allowfullscreen></iframe>
</div>
<h2 style="max-width: 700px">Enjoy the latest content from your favorite creators - as a user, not a product.</h2>
<p style="max-width: 800px">This video shows footage from <a href="https://odysee.com">odysee.com</a>, the most popular LBRY app. This same content can be accessed by <a href="/get">LBRY Desktop</a> and other clients as part of the web 3.0 LBRY network.</p>
<div class="inner-wrap" style="margin-top: 1rem">
<iframe id="lbry-iframe" width="560" height="315" src="https://odysee.com/$/embed/odysee/7a416c44a6888d94fe045241bbac055c726332aa?r=9wKhJPioiNxTBjT6Zoqaf7LNDJcauUjg" allowfullscreen></iframe>
</div>
</section>
<section class="home__cta">
<div class="inner-wrap">
<aside class="home__cta"><h2>Now Available for Desktop, Mobile, and Web Browsers.</h2></aside>
<aside class="home__cta"><h2>Use Desktop and Mobile apps for full control.<br/>Use odysee.com for ease.</h2></aside>
<?php echo View::render('download/_downloadRow') ?>
</div>
</section>
-13
View File
@@ -22,11 +22,6 @@
.badge--free {
background-color: var(--lbry-blue-2);
[data-mode="dark"] & {
background-color: var(--lbry-blue-3);
color: var(--lbry-black);
}
}
.badge--large {
@@ -34,14 +29,6 @@
line-height: 1;
}
.badge--nsfw {
background-color: var(--lbry-grape-2);
[data-mode="dark"] & {
background-color: var(--lbry-grape-3);
color: var(--lbry-black);
}
}
.badge--primary {
background-color: var(--lbry-teal-5);
+1 -8
View File
@@ -2,6 +2,7 @@
fill: currentColor;
position: relative;
white-space: nowrap;
display: inline-block;
}
.button--alt {
@@ -62,16 +63,8 @@
color: inherit;
transition: background-color 0.2s;
[data-mode="dark"] & {
border-color: rgba($lbry-white, 0.1);
}
&:hover {
background-color: var(--lbry-gray-1);
[data-mode="dark"] & {
background-color: rgba($lbry-white, 0.1);
}
}
}
+3 -3
View File
@@ -127,10 +127,10 @@ section {
small {
font-size: 0.8rem;
}
&.meta {
color: var(--lbry-gray-5);
}
.meta {
color: var(--lbry-gray-5);
}
strong {
+63 -17
View File
@@ -1,3 +1,7 @@
main.home {
padding-bottom: 0 !important; //this site is poison i'm not fixing it
}
.home__hero,
.home__sites {
.inner-wrap {
@@ -8,41 +12,84 @@
}
.home__callout {
background-image: linear-gradient(to right, $lbry-teal-2, $lbry-cyan-3 100%);
background-image: linear-gradient(to right, $lbry-teal-5, $lbry-cyan-5 100%);
background-size: cover;
color: var(--lbry-white);
font-weight: 300;
padding: 2rem;
text-align: center;
padding-top: 2rem;
padding-bottom: 2rem;
font-size: 1.2rem;
h2 {
text-align: center;
margin-bottom: 1rem;
}
h2, p {
padding-right: 1rem;
padding-left: 1rem;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
p {
line-height: 1.55;
font-size: 1.0rem;
}
@media (min-width: 1251px) {
font-size: 2rem;
iframe {
display: block;
max-width: 560px;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 1001px) and (max-width: 1250px) {
font-size: 1.5rem;
a {
text-decoration: underline;
}
}
@media (max-width: 1000px) {
font-size: 1.25rem;
.button--odysee {
padding: var(--spacing-xs) var(--spacing-s); // sass-lint:disable-line shorthand-values
background-color: rgb(229, 0, 84);
color: white;
border: 1px solid var(--lbry-gray-1);
border-radius: 1rem;
color: inherit;
transition: background-color 0.2s;
&:hover {
background-color: var(--lbry-gray-1);
}
}
.home__cta {
margin-bottom: 1rem;
text-align: center;
align-self: center;
h1 {
font-size: 2.5rem;
font-weight: 200;
margin-bottom: 1rem;
}
@media (min-width: 1001px) and (max-width: 1250px) {
h1 {
font-size: 2.0rem;
}
}
@media (max-width: 1000px) {
h1 {
font-size: 1.5rem;
}
}
p {
margin-bottom: 1rem;
}
div {
font-size: 1rem;
@@ -53,17 +100,15 @@
}
.home__cta-copy {
max-width: 700px;
p {
margin-bottom: 1rem;
}
max-width: 500px;
}
.home__hero {
flex: 1;
padding-top: 4rem;
padding-top: 2rem;
padding-bottom: 2rem;
.inner-wrap {
flex-direction: column;
}
@@ -127,6 +172,7 @@
}
.home__sites {
border-top: 1px solid var(--lbry-gray-1);
background-color: var(--lbry-white);
font-size: 1rem;
padding-top: 2rem;