Launch-ish #163
5 changed files with 2 additions and 29 deletions
|
@ -37,7 +37,6 @@ function main() {
|
||||||
app.use(ssr());
|
app.use(ssr());
|
||||||
|
|
||||||
app.route("/", page(require("./views/home")));
|
app.route("/", page(require("./views/home")));
|
||||||
app.route("/api", page(require("./views/api")));
|
|
||||||
app.route("/api/*", page(require("./views/api")));
|
app.route("/api/*", page(require("./views/api")));
|
||||||
app.route("/*", page(require("./views/redirect")));
|
app.route("/*", page(require("./views/redirect")));
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"/tour" : "/playground",
|
"/tour" : "/playground",
|
||||||
"/play" : "/playground",
|
"/play" : "/playground",
|
||||||
|
"/api" : "/resources",
|
||||||
"/api/protocol" : "/api/sdk",
|
"/api/protocol" : "/api/sdk",
|
||||||
"/api/lbry" : "/api/sdk",
|
"/api/lbry" : "/api/sdk",
|
||||||
"/api/lbrycrd" : "/api/blockchain",
|
"/api/lbrycrd" : "/api/blockchain",
|
||||||
|
|
|
@ -106,7 +106,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.api__content {
|
.api__content {
|
||||||
float: right;
|
float: right;
|
||||||
width: calc(100% - 200px);
|
width: calc(100% - 200px);
|
||||||
|
|
|
@ -38,8 +38,8 @@ $width-feature-link: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-link__title {
|
.feature-link__title {
|
||||||
top: 85px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
top: 85px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// P A C K A G E S
|
|
||||||
|
|
||||||
import asyncHtml from "choo-async/html";
|
import asyncHtml from "choo-async/html";
|
||||||
import dedent from "dedent";
|
import dedent from "dedent";
|
||||||
import redirectOr404 from "../modules/redirectOr404";
|
import redirectOr404 from "../modules/redirectOr404";
|
||||||
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" });
|
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">×</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 => {
|
module.exports = exports = state => parseApiFile(state.params.wildcard).then(response => {
|
||||||
/*
|
/*
|
||||||
state.lbry = {
|
state.lbry = {
|
||||||
|
|
Loading…
Reference in a new issue
Why is this here?