Launch-ish #163

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

View file

@ -39,16 +39,6 @@ export default class Navigation extends Nanocomponent {
title: "View LBRY resources", title: "View LBRY resources",
url: "/resources" url: "/resources"
}, },
{
name: "Contribute",
title: "Contribute to LBRY",
url: "/contribute"
},
{
name: "Build",
title: "View LBRY resources",
url: "/build"
},
{ {
name: "Community", name: "Community",
title: "Interact with LBRY", title: "Interact with LBRY",

View file

@ -5,18 +5,23 @@ import linkGrid from "./link-grid";
export default () => { export default () => {
return linkGrid([{ return linkGrid([{
title: "Whitepaper", title: "Whitepaper",
description: "It's a white paper", description: "Read the formal specification for LBRY.",
destination: "/whitepaper", destination: "/whitepaper",
label: "Read" label: "Study the Paper"
}]) + linkGrid([ {
title: "LBRY SDK APIs",
description: "The LBRY SDK is the simplest way to start building with LBRY.",
destination: "/api/protocol",
label: "LBRY SDK API"
}, { }, {
title: "Blockchain Docs", title: "Contributor's Guide",
description: "Learn how to talk to blockchain real good", description: "Can you code, design, write or test? Join us!",
destination: "/contribute",
label: "Read the Guide"
}, {
title: "SDK APIs",
description: "Method signatures and examples for lbry-sdk, the most common way to build on LBRY.",
destination: "/api/sdk",
label: "SDK APIs"
}, {
title: "Blockchain APIs",
description: "Method signatures and examples for lbrycrd, the LBRY blockchain.",
destination: "/api/blockchain", destination: "/api/blockchain",
label: "Blockchain API" label: "Blockchain APIs"
}]); }]);
}; };

View file

@ -1,3 +1,15 @@
export default (url, code = 301) => { /*
throw "fix this please, needs to redirect to:" + url; this is fucking awful
*/
import Page404 from "../views/404.js";
import redirects from "../data/redirects.json";
export default (path) => {
const redirectUrl = redirects[path];
if (redirectUrl) {
throw "fix this please, needs to redirect to:" + redirectUrl;
} else {
return Page404();
}
}; };

View file

@ -52,6 +52,7 @@ body.home {
grid-area: header; grid-area: header;
height: calc(50vh - 4rem); min-height: 300px; height: calc(50vh - 4rem); min-height: 300px;
justify-content: center; justify-content: center;
margin-bottom: 2rem;
@media (max-width: 850px) { @media (max-width: 850px) {
background-size: cover; background-size: cover;

View file

@ -3,14 +3,13 @@
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
list-style-type: none; list-style-type: none;
margin-top: 2rem;
margin-bottom: 2rem;
} }
.link-grid__link { .link-grid__link {
position: relative; position: relative;
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
margin-bottom: 2rem;
flex-grow: 1; flex-grow: 1;
@media (min-width: 651px) { @media (min-width: 651px) {

View file

@ -1,14 +1,13 @@
--- ---
title: Contributing title: Contributor's Guide
--- ---
## Welcome to LBRY!
## Contributing to LBRY
Interested in working on the LBRY protocol, an official LBRY app, or other LBRY infrastructure? Awesome! This guide will get you started. Interested in working on the LBRY protocol, an official LBRY app, or other LBRY infrastructure? Awesome! This guide will get you started.
This guide is for contributing to the code bases maintained by the LBRY organization. For building on top of the LBRY protocol, see [Build](/build). This guide is for contributing to the code bases maintained by the LBRY organization by [Coding](#coding), [Designing](#designing), [Writing](#writing), and [Testing](#testing).
Contributors that provide accepted pull requests, well-specified issues, or assist in testing and quality assurance typically receive LBC tokens as appreciation. Contributors that provide accepted pull requests, well-specified issues, or assist in testing and quality assurance typically receive LBC tokens as [appreciation](#appreciation).
## Ecosystem Overview ## Ecosystem Overview