2018-07-12 17:21:42 +02:00
"use strict" ;
// P A C K A G E
const html = require ( "choo-async/html" ) ;
2018-07-13 23:58:24 +02:00
// E X P O R T
2018-07-12 17:21:42 +02:00
2018-07-13 23:58:24 +02:00
module . exports = exports = ( ) => async ( ) => html `
2018-07-12 17:21:42 +02:00
< article class = "page" itemtype = "http://schema.org/BlogPosting" >
< header class = "page__header" >
< div class = "page__header-wrap" >
< div class = "inner-wrap" >
< h1 class = "page__header__title" itemprop = "name headline" > Resources < / h 1 >
< / d i v >
< / d i v >
< / h e a d e r >
< section class = "page__content" itemprop = "articleBody" >
< div class = "inner-wrap" >
< h2 > Whitepaper < / h 2 >
< h4 > LBRY : A Decentralized Digital Content Marketplace < / h 4 >
< p > Some info here about the whitepaper and < a href = "/whitepaper.html" > a link < / a > . < / p >
< h2 > API Specification < / h 2 >
< h4 > All of our APIs , in one place < / h 4 >
< h3 > chainquery < / h 3 >
< ul >
< li > < a href = "https://github.com/lbryio/chainquery" > Codebase < / a > < / l i >
< li > < a href = "" > OpenAPI signature < / a > < / l i >
< / u l >
< h3 > lbry < / h 3 >
< ul >
< li > < a href = "https://lbry.io/api" > Codebase < / a > < / l i >
< li > < a href = "/resources/lbry.html" > OpenAPI signature < / a > < / l i >
< / u l >
< h3 > lbrycrd < / h 3 >
< ul >
< li > < a href = "https://github.com/lbryio/lbrycrd" > Codebase < / a > < / l i >
< li > < a href = "/resources/lbrycrd.html" > OpenAPI signature < / a > < / l i >
< / u l >
< h3 > Lighthouse < / h 3 >
< ul >
< li > < a href = "https://lbryio.github.io/lighthouse" > Codebase < / a > < / l i >
< li > < a href = "" > OpenAPI signature < / a > < / l i >
< / u l >
< h2 > The Front Desk < / h 2 >
< h4 > Latest news and musings from the LBRY team < / h 4 >
< ul class = "blog-posts" >
< li class = "blog-post" >
< a class = "blog-post__title" href = "https://lbry.io/news/we-are-hiring-our-boss" > We ' re Hiring Our Boss < / a >
< div class = "blog-post__meta" >
< span class = "blog-post__meta__date" > 2018 / 05 / 11 < / s p a n >
< span class = "blog-post__meta__author" > Samuel Bryan < / s p a n >
< / d i v >
< / l i >
< li class = "blog-post" >
< a class = "blog-post__title" href = "https://lbry.io/news/lbry-development-community-update-apr-2018" > Development and Community Update April 2018 < / a >
< div class = "blog-post__meta" >
< span class = "blog-post__meta__date" > 2018 / 05 / 04 < / s p a n >
< span class = "blog-post__meta__author" > Samuel Bryan < / s p a n >
< / d i v >
< / l i >
< li class = "blog-post" >
< a class = "blog-post__title" href = "https://lbry.io/news/imineblocks" > Hey , mine your own business ! < / a >
< div class = "blog-post__meta" >
< span class = "blog-post__meta__date" > 2018 / 04 / 05 < / s p a n >
< span class = "blog-post__meta__author" > Reilly Smith < / s p a n >
< / d i v >
< / l i >
< li class = "blog-post" >
< a class = "blog-post__title" href = "https://lbry.io/news/lbry-development-community-update-mar-2018" > Development and Community Update March 2018 < / a >
< div class = "blog-post__meta" >
< span class = "blog-post__meta__date" > 2018 / 04 / 03 < / s p a n >
< span class = "blog-post__meta__author" > Tom Zarebczan < / s p a n >
< / d i v >
< / l i >
< li class = "blog-post" >
< a class = "blog-post__title" href = "https://lbry.io/news/if-you-still-havent-found-what-youre-searching-for" > If you still haven 't found what you' re searching for ... < / a >
< div class = "blog-post__meta" >
< span class = "blog-post__meta__date" > 2018 / 03 / 22 < / s p a n >
< span class = "blog-post__meta__author" > Brinck Slattery < / s p a n >
< / d i v >
< / l i >
< / u l >
< / d i v >
< / s e c t i o n >
< / a r t i c l e >
< script >
// TODO: make this happen in components/layout
document . getElementsByTagName ( "body" ) [ 0 ] . classList . add ( "resources" ) ; // documentation
< / s c r i p t >
` ;
// TODO: Make blog post section dynamic. It should be grabbing the latest posts automatically