Launch-ish #163

Merged
kauffj merged 14 commits from launch into master 2018-10-01 17:21:11 +02:00
5 changed files with 2 additions and 29 deletions
Showing only changes of commit a5137cce1c - Show all commits

View file

@ -37,7 +37,6 @@ function main() {
app.use(ssr());
app.route("/", page(require("./views/home")));
app.route("/api", page(require("./views/api")));
app.route("/api/*", page(require("./views/api")));
app.route("/*", page(require("./views/redirect")));

View file

@ -1,6 +1,7 @@
{
"/tour" : "/playground",
"/play" : "/playground",
"/api" : "/resources",
"/api/protocol" : "/api/sdk",
"/api/lbry" : "/api/sdk",
"/api/lbrycrd" : "/api/blockchain",

View file

@ -106,7 +106,6 @@
}
}
.api__content {
float: right;
width: calc(100% - 200px);

View file

@ -38,8 +38,8 @@ $width-feature-link: 320px;
}
.feature-link__title {
top: 85px;
position: relative;
top: 85px;
font-weight: normal;
text-align: center;
z-index: 1;

View file

@ -1,9 +1,5 @@
"use strict";
// P A C K A G E S
import asyncHtml from "choo-async/html";
import dedent from "dedent";
import redirectOr404 from "../modules/redirectOr404";
NetOpWibby commented 2018-10-01 16:11:20 +02:00 (Migrated from github.com)
Review

Why is this here?

Why is this here?
kauffj commented 2018-10-01 16:40:38 +02:00 (Migrated from github.com)
Review

this was left over from a conflicted rebased, removed

this was left over from a conflicted rebased, removed
@ -12,28 +8,6 @@ import headerSdk from "../components/api/header-sdk";
const fetch = require("make-fetch-happen").defaults({ cacheManager: "./cache" });
/*
module.exports = exports = state => parseApiFile(state.params.wildcard).then(response => asyncHtml`
<div class="api__header">
I am a walrus.
</div>
<div class="__slate">
<aside class="api__toc">
<div class="api__toc__search">
<input class="api__toc__search__field" id="input-search" placeholder="Search" type="search"/>
<div class="api__toc__search__clear" id="clear-search" title="Clear search query">&times;</div>
<ul class="api__toc__search__results"></ul>
</div>
<ul class="api__toc__items" id="toc" role="navigation">${createApiSidebar(response)}</ul>
</aside>
<section class="api__content" id="toc-content">${createApiContent(response)}</section>
</div>
`);
*/
module.exports = exports = state => parseApiFile(state.params.wildcard).then(response => {
/*
state.lbry = {