2018-07-12 17:21:42 +02:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// P A C K A G E
|
|
|
|
|
|
|
|
const html = require("choo-async/html");
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-13 23:58:24 +02:00
|
|
|
// E X P O R T
|
2018-07-12 17:21:42 +02:00
|
|
|
|
2018-07-13 23:58:24 +02:00
|
|
|
module.exports = exports = () => async () => html`
|
2018-07-12 23:07:16 +02:00
|
|
|
<div>
|
|
|
|
<section class="hero">
|
|
|
|
<div>
|
|
|
|
<h1>
|
|
|
|
LBRY is a free, open, and community-run digital marketplace.<br/>
|
|
|
|
Build the future of content freedom.
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="features">
|
|
|
|
<ul class="home__features">
|
|
|
|
<li class="home__feature">
|
|
|
|
<p class="home__feature__title"><strong>New to LBRY?</strong></p>
|
2018-08-09 16:38:42 +02:00
|
|
|
<p class="home__feature__description">Learn how LBRY works with 3 easy examples</p>
|
2018-07-12 23:07:16 +02:00
|
|
|
<a class="home__feature__cta" href="/tour">Take the Tour</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="home__feature">
|
|
|
|
<p class="home__feature__title"><strong>Want to contribute?</strong></p>
|
|
|
|
<p class="home__feature__description">Help make LBRY better!</p>
|
|
|
|
<a class="home__feature__cta" href="/contribute">Explore our repos</a>
|
|
|
|
</li>
|
2018-07-12 17:21:42 +02:00
|
|
|
</ul>
|
2018-07-12 23:07:16 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="intro">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Intro/Overview</h3>
|
|
|
|
<p>What if anyone in the world could publish a piece of digital content, anyone else in the world could access it, for free or for payment, and that entire system worked end-to-end without any centralized authority or point of control?</p>
|
|
|
|
|
|
|
|
<p>That's the idea behind LBRY. To create a market for accessing and publishing information that is global, decentralized, robust, optimal and complete.</p>
|
|
|
|
|
|
|
|
<a class="cta" href="/overview">Learn more about our mission</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="docs">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Documentation</h3>
|
|
|
|
<p>LBRY has enough moving parts to warrant comprehensive documentation. Whether you are interested in learning the technical details of our technology stack or you want to integrate LBRY into your life, you will find everything you need in our docs.</p>
|
|
|
|
|
|
|
|
<a class="cta" href="/resources">Explore our documentation</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2018-07-16 23:06:37 +02:00
|
|
|
<div id="github-feed" class="github-feed">
|
|
|
|
<h3>GitHub</h3>
|
|
|
|
<h5 class="last-updated">Unable to fetch latest GitHub data</h5>
|
|
|
|
</div>
|
2018-07-12 23:07:16 +02:00
|
|
|
|
|
|
|
<section class="contribute">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Contribute</h3>
|
|
|
|
<p>Interested in progressing content freedom? Awesome! No matter your experience or skill level, <strong>you</strong> can make a difference.</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="" title="">Raising Issues</a></li>
|
|
|
|
<li><a href="" title="">Coding</a></li>
|
|
|
|
<li><a href="" title="">Creative</a></li>
|
|
|
|
<li><a href="" title="">Translating</a></li>
|
|
|
|
<li><a href="" title="">Testing</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="develop">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Development</h3>
|
|
|
|
<p>Like a bit of documentation but would prefer to jump in and make your mark on the blockchain? Perhaps add cats to it?</p>
|
|
|
|
|
2018-08-24 19:07:37 +02:00
|
|
|
<a class="cta" href="/api/protocol" title="Learn the LBRY API">Learn the LBRY API</a>
|
2018-07-12 23:07:16 +02:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="community">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Community</h3>
|
|
|
|
<p>Hang out with us! We have a vibrant community of lbryians and would be <em>delighted</em> if you joined us.</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="//chat.lbry.io" title="LBRY on Discord">Discord</a></li>
|
|
|
|
<li><a href="//www.reddit.com/r/lbry" title="LBRY on Reddit">Reddit</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
2018-07-12 17:21:42 +02:00
|
|
|
|
|
|
|
<script>
|
|
|
|
$(function () {
|
2018-07-16 23:06:37 +02:00
|
|
|
send(JSON.stringify({
|
|
|
|
"message": "landed on homepage"
|
|
|
|
}));
|
2018-07-12 17:21:42 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
document.getElementsByTagName("body")[0].classList.add("home"); // TODO: make this happen in components/layout
|
|
|
|
</script>
|
|
|
|
`;
|