139 lines
No EOL
2.7 KiB
Vue
139 lines
No EOL
2.7 KiB
Vue
<template>
|
|
<v-app>
|
|
|
|
<v-toolbar clipped-left app scroll-off-screen>
|
|
|
|
<v-toolbar-title class="align-center">
|
|
<span class="title"><router-link to="/">LBRY.tech</router-link></span>
|
|
</v-toolbar-title>
|
|
<v-spacer></v-spacer>
|
|
<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>
|
|
<v-btn flat to="/resources.html">Resources</v-btn>
|
|
</v-toolbar-items>
|
|
|
|
</v-toolbar>
|
|
|
|
<v-content>
|
|
|
|
<v-alert type="error" value="true" id="in-development-alert" class="pt-5 pb-5 ma-0">
|
|
<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>
|
|
|
|
<template v-if="$page.frontmatter.home">
|
|
|
|
<hook></hook>
|
|
|
|
<v-container fluid>
|
|
|
|
<v-layout row wrap>
|
|
|
|
<v-flex xs12 xl6 offset-xl3>
|
|
|
|
<Content custom></Content>
|
|
|
|
<edit-link></edit-link>
|
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
<template v-else>
|
|
|
|
<v-container>
|
|
|
|
<v-layout row wrap>
|
|
|
|
<v-flex xs12 xl6 offset-xl3>
|
|
|
|
<Sidebar v-if="$page.headers"></Sidebar>
|
|
|
|
<Content custom></Content>
|
|
|
|
<edit-link></edit-link>
|
|
|
|
</v-flex>
|
|
|
|
</v-layout>
|
|
|
|
</v-container>
|
|
|
|
</template>
|
|
|
|
</v-content>
|
|
|
|
</v-app>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import Vue from 'vue'
|
|
import nprogress from 'nprogress'
|
|
import Vuetify from 'vuetify'
|
|
import VueResource from 'vue-resource'
|
|
import VueHighlightJS from 'vue-highlightjs'
|
|
|
|
Vue.use(Vuetify, {
|
|
theme: {
|
|
primary: '#155b4a'
|
|
}
|
|
});
|
|
|
|
Vue.use(VueResource)
|
|
Vue.use(VueHighlightJS)
|
|
|
|
export default {
|
|
data () {
|
|
return {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
<style src="../../node_modules/vuetify/dist/vuetify.min.css"></style>
|
|
<style src="../../node_modules/material-design-icons-iconfont/dist/material-design-icons.css"></style>
|
|
|
|
<style lang="scss">
|
|
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
pre {
|
|
text-align: left;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.content.custom {
|
|
display: block;
|
|
}
|
|
|
|
.toolbar__title {
|
|
a {
|
|
text-decoration: none;
|
|
&:hover {
|
|
color: black;
|
|
}
|
|
}
|
|
}
|
|
|
|
#in-development-alert {
|
|
a {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
</style> |