2018-04-20 15:17:16 +02:00
|
|
|
<template>
|
|
|
|
<v-app>
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
<!--/
|
|
|
|
<v-toolbar>
|
2018-04-20 15:17:16 +02:00
|
|
|
<v-toolbar-title class="align-center">
|
|
|
|
<span class="title"><router-link to="/">LBRY.tech</router-link></span>
|
|
|
|
</v-toolbar-title>
|
2018-05-02 00:45:31 +02:00
|
|
|
|
2018-04-20 15:17:16 +02:00
|
|
|
<v-spacer></v-spacer>
|
2018-05-02 00:45:31 +02:00
|
|
|
|
2018-04-20 15:17:16 +02:00
|
|
|
<v-toolbar-items class="hidden-sm-and-down">
|
|
|
|
<v-btn flat to="/overview.html">Overview</v-btn>
|
|
|
|
<v-btn flat to="/documentation.html">Documentation</v-btn>
|
|
|
|
<v-btn flat to="/contribute.html">How to Contribute</v-btn>
|
|
|
|
<v-btn flat to="/develop.html">How to Develop</v-btn>
|
2018-04-26 11:19:37 +02:00
|
|
|
<v-btn flat to="/resources/">Resources</v-btn>
|
2018-04-20 15:17:16 +02:00
|
|
|
</v-toolbar-items>
|
|
|
|
</v-toolbar>
|
2018-05-02 00:45:31 +02:00
|
|
|
/-->
|
|
|
|
|
|
|
|
<nav class="navigation">
|
|
|
|
<div class="inner-wrap">
|
|
|
|
<a class="navigation__item" href="/" title="Go back home">LBRY</a>
|
|
|
|
<a class="navigation__item" href="/overview.html" title="TBD">Overview</a>
|
|
|
|
<a class="navigation__item" href="/documentation.html" title="TBD">Documentation</a>
|
|
|
|
<a class="navigation__item" href="/contribute.html" title="TBD">Contribute</a>
|
|
|
|
<a class="navigation__item" href="/develop.html" title="TBD">Develop</a>
|
|
|
|
<a class="navigation__item" href="/resources" title="TBD">Resources</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2018-04-20 15:17:16 +02:00
|
|
|
|
|
|
|
<v-content>
|
2018-05-02 00:45:31 +02:00
|
|
|
<!--/
|
|
|
|
<v-alert type="error" value="true" id="in-development-alert">
|
2018-04-20 15:17:16 +02:00
|
|
|
<strong>This website is in beta.</strong> We are actively developing this website to showcase and teach about the LBRY protocol. All things may not work as expected!<br/>This website is open source and you can <a href="https://github.com/lbryio/lbry.tech" target="_blank">contribute to it on Github</a>.</v-alert>
|
|
|
|
</v-alert>
|
2018-05-02 00:45:31 +02:00
|
|
|
/-->
|
2018-04-20 15:17:16 +02:00
|
|
|
|
|
|
|
<template v-if="$page.frontmatter.home">
|
2018-05-02 00:45:31 +02:00
|
|
|
<section class="home hero">
|
|
|
|
<!--/ <h1 class="home__heading">LBRY Technology</h1> /-->
|
|
|
|
<div>
|
|
|
|
<h2>
|
|
|
|
LBRY is a free, open, and community-run digital marketplace.<br/>
|
|
|
|
Build the future of content freedom.
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home features">
|
|
|
|
<ul class="home__features">
|
|
|
|
<li class="home__feature">
|
|
|
|
<p class="home__feature__title"><strong>New to LBRY?</strong></p>
|
|
|
|
<p class="home__feature__description">Learn how LBRY works in 3 easy steps</p>
|
|
|
|
<a class="home__feature__cta" href="">Check it out</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="home__feature">
|
|
|
|
<p class="home__feature__title"><strong>Want to contribute?</strong></p>
|
|
|
|
<p class="home__feature__description">Start exploring our API and help make LBRY better</p>
|
|
|
|
<a class="home__feature__cta" href="">Jump in</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home intro">
|
2018-05-02 17:47:17 +02:00
|
|
|
<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="">Learn more</a>
|
|
|
|
</div>
|
2018-05-02 00:45:31 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home docs">
|
2018-05-02 17:47:17 +02:00
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Documentation</h3>
|
|
|
|
<p>Text and such</p>
|
|
|
|
</div>
|
2018-05-02 00:45:31 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home contribute">
|
2018-05-02 17:47:17 +02:00
|
|
|
<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>Raising Issues</li>
|
|
|
|
<li>Coding</li>
|
|
|
|
<li>Creative</li>
|
|
|
|
<li>Translating</li>
|
|
|
|
<li>Testing</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-05-02 00:45:31 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home develop">
|
2018-05-02 17:47:17 +02:00
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Development</h3>
|
|
|
|
<p>Text and such</p>
|
|
|
|
</div>
|
2018-05-02 00:45:31 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="home community">
|
2018-05-02 17:47:17 +02:00
|
|
|
<div class="inner-wrap">
|
|
|
|
<h3>Community</h3>
|
|
|
|
<p>Text and such</p>
|
|
|
|
</div>
|
2018-05-02 00:45:31 +02:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<!--/ <hook></hook> /-->
|
|
|
|
|
|
|
|
<!--/
|
2018-04-20 15:17:16 +02:00
|
|
|
<v-container fluid>
|
|
|
|
<v-layout row wrap>
|
2018-05-02 00:45:31 +02:00
|
|
|
<v-flex>
|
2018-04-20 15:17:16 +02:00
|
|
|
<Content custom></Content>
|
2018-04-20 15:35:27 +02:00
|
|
|
<edit-link :path="this.$page.path"></edit-link>
|
2018-04-20 15:17:16 +02:00
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-container>
|
2018-05-02 00:45:31 +02:00
|
|
|
/-->
|
2018-04-20 15:17:16 +02:00
|
|
|
</template>
|
|
|
|
|
2018-04-27 13:21:31 +02:00
|
|
|
<template v-else-if="$page.path == '/whitepaper.html'">
|
|
|
|
<Content custom></Content>
|
|
|
|
</template>
|
|
|
|
|
2018-04-20 15:17:16 +02:00
|
|
|
<template v-else>
|
|
|
|
<v-container>
|
2018-05-02 00:45:31 +02:00
|
|
|
<v-layout>
|
|
|
|
<v-flex>
|
2018-04-20 15:17:16 +02:00
|
|
|
<Sidebar v-if="$page.headers"></Sidebar>
|
|
|
|
<Content custom></Content>
|
2018-04-20 15:35:27 +02:00
|
|
|
<edit-link :path="this.$page.path"></edit-link>
|
2018-04-20 15:17:16 +02:00
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
</v-content>
|
|
|
|
|
|
|
|
</v-app>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import Vue from 'vue'
|
|
|
|
import Vuetify from 'vuetify'
|
|
|
|
import VueResource from 'vue-resource'
|
|
|
|
import VueHighlightJS from 'vue-highlightjs'
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
Vue.use(Vuetify);
|
2018-04-20 15:17:16 +02:00
|
|
|
Vue.use(VueResource)
|
|
|
|
Vue.use(VueHighlightJS)
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data () {
|
|
|
|
return {
|
2018-04-24 10:56:52 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
created () {
|
|
|
|
if (this.$ssrContext) {
|
|
|
|
this.$ssrContext.title = this.$title
|
|
|
|
this.$ssrContext.lang = this.$lang
|
|
|
|
this.$ssrContext.description = this.$page.description || this.$description
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
|
2018-04-24 10:56:52 +02:00
|
|
|
},
|
|
|
|
mounted () {
|
|
|
|
// update title / meta tags
|
|
|
|
this.currentMetaTags = []
|
|
|
|
const updateMeta = () => {
|
|
|
|
document.title = this.$title
|
|
|
|
document.documentElement.lang = this.$lang
|
|
|
|
const meta = [
|
|
|
|
{
|
|
|
|
name: 'description',
|
|
|
|
content: this.$description
|
|
|
|
},
|
|
|
|
...(this.$page.frontmatter.meta || [])
|
|
|
|
]
|
|
|
|
this.currentMetaTags = updateMetaTags(meta, this.currentMetaTags)
|
2018-04-20 15:17:16 +02:00
|
|
|
}
|
2018-04-24 10:56:52 +02:00
|
|
|
this.$watch('$page', updateMeta)
|
|
|
|
updateMeta()
|
|
|
|
},
|
|
|
|
beforeDestroy () {
|
|
|
|
updateMetaTags(null, this.currentMetaTags)
|
2018-04-20 15:17:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-24 10:56:52 +02:00
|
|
|
function updateMetaTags (meta, current) {
|
|
|
|
if (current) {
|
|
|
|
current.forEach(c => {
|
|
|
|
document.head.removeChild(c)
|
|
|
|
})
|
|
|
|
}
|
|
|
|
if (meta) {
|
|
|
|
return meta.map(m => {
|
|
|
|
const tag = document.createElement('meta')
|
|
|
|
Object.keys(m).forEach(key => {
|
|
|
|
tag.setAttribute(key, m[key])
|
|
|
|
})
|
|
|
|
document.head.appendChild(tag)
|
|
|
|
return tag
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
</script>
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
<!--/ <style src="../../node_modules/vuetify/dist/vuetify.min.css"></style> /-->
|
2018-04-20 15:17:16 +02:00
|
|
|
|
|
|
|
<style lang="scss">
|
2018-05-02 00:45:31 +02:00
|
|
|
@import "../scss/type/karla";
|
|
|
|
@import "../scss/init/colors";
|
|
|
|
@import "../scss/init/base";
|
|
|
|
@import "../scss/init/extends";
|
|
|
|
@import "../scss/init/mixins";
|
|
|
|
@import "../scss/layout";
|
|
|
|
@import "../scss/pages/home";
|
|
|
|
@import "../scss/partials/navigation";
|
|
|
|
|
|
|
|
/*
|
|
|
|
html {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
pre {
|
|
|
|
text-align: left;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
.content.custom {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
.toolbar__title {
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
#in-development-alert {
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
2018-04-20 15:17:16 +02:00
|
|
|
}
|
2018-05-02 00:45:31 +02:00
|
|
|
*/
|
2018-04-26 11:19:37 +02:00
|
|
|
</style>
|