Move pages to content subfolder

This commit is contained in:
Kristian Polso 2018-05-30 12:20:33 +03:00
parent 5583ecbe7e
commit df7b5608ff
70 changed files with 9 additions and 22 deletions

2
.gitignore vendored
View file

@ -13,6 +13,6 @@ yarn-error.log*
*.njsproj *.njsproj
*.sln *.sln
.vuepress/dist content/.vuepress/dist
.env .env

View file

@ -82,7 +82,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
@import "../../node_modules/highlight.js/styles/monokai-sublime"; @import "../../../node_modules/highlight.js/styles/monokai-sublime";
@import "../scss/init/colors"; @import "../scss/init/colors";
@import "../scss/init/extends"; @import "../scss/init/extends";
@import "../scss/init/mixins"; @import "../scss/init/mixins";

View file

@ -1,5 +1,6 @@
// .vuepress/config.js // .vuepress/config.js
module.exports = { module.exports = {
base: '/',
title: 'LBRY.tech', title: 'LBRY.tech',
head: [ head: [
['meta', {name: 'viewport', content: 'initial-scale=1, viewport-fit=cover'}], ['meta', {name: 'viewport', content: 'initial-scale=1, viewport-fit=cover'}],

View file

Before

Width:  |  Height:  |  Size: 445 KiB

After

Width:  |  Height:  |  Size: 445 KiB

View file

Before

Width:  |  Height:  |  Size: 91 B

After

Width:  |  Height:  |  Size: 91 B

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 562 B

After

Width:  |  Height:  |  Size: 562 B

View file

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

View file

Before

Width:  |  Height:  |  Size: 745 B

After

Width:  |  Height:  |  Size: 745 B

View file

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View file

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 408 B

View file

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 426 B

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 414 B

4
content/README.md Normal file
View file

@ -0,0 +1,4 @@
---
home: true
title: LBRY.tech
---

View file

@ -1,18 +0,0 @@
require('dotenv').config();
var octokit = require('@octokit/rest')();
var redis = require("redis"),
redisClient = redis.createClient(process.env.REDISCLOUD_URL);
octokit.activity.getEventsForOrg({
org: 'lbryio',
per_page: 20,
page: 1
}).then(function({data}) {
console.log(data);
redisClient.set('events', JSON.stringify(data), redis.print);
});

View file

@ -5,8 +5,8 @@
"author": "", "author": "",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "./node_modules/vuepress/bin/vuepress.js dev", "dev": "./node_modules/vuepress/bin/vuepress.js dev content",
"start": "./node_modules/vuepress/bin/vuepress.js build && node server.js" "start": "./node_modules/vuepress/bin/vuepress.js build content && node server.js"
}, },
"engines": { "engines": {
"node": "10.2.x" "node": "10.2.x"