<commit_before>'use strict'

import {Component}      from 'react'
import {Link}           from 'react-router'
import DocumentTitle    from 'react-document-title'

import Header           from '../components/Header'
import Footer           from '../components/Footer'
import ArticleIndex     from '../components/ArticleIndex'
import docs             from '../../docs.json'

class PapersIndexPage extends Component {

  constructor(props) {
    super(props)

    this.state = {
      papers: [
        {
          title: "Blockstack: A Global Naming and Storage System Secured by Blockchains",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>",
          publication: "Proc. USENIX Annual Technical Conference",
          url: "https://blockstack.org/blockstack.pdf",
          location: "Denver, CO",
          date: "June 2016"
        },
        {
          title: "Extending Existing Blockchains with Virtualchain",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>",
          publication: "Proc. Workshop on Distributed Cryptocurrencies and Consensus Ledgers",
          url: "https://blockstack.org/virtualchain.pdf",
          location: "Chicago, IL",
          date: "July 2016"
        },
        {
          title: "Bootstrapping Trust in Distributed Systems with Blockchains",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>:",
          publication: "USENIX ;login: issue: Fall 2016, Vol. 41, No. 3",
          url: "https://blockstack.org/blockstack-login.pdf"
        }
      ]
    }
  }

  render() {
    return (
      <DocumentTitle title="Blockstack - Documentation">
        <div>
          <div className="container-fluid col-centered navbar-fixed-top bg-primary">
            <Header />
          </div>
          <section className="container-fluid spacing-container">
            <div className="container col-centered">
              <div className="container m-b-5">
                <h1>
                  Blockstack Papers
                </h1>
                { this.state.papers.map((paper, index) => {
                  return (
                    <div>
                      <h4>
                        {index+1}. {paper.title}
                      </h4>
                      <p>
                        {paper.authors}
                        <br />
                        {paper.publication}
                        <br />
                        {paper.location}, {paper.date}
                        <br />
                        [ <Link to={paper.url} target="_blank">PDF</Link> ]
                      </p>
                    </div>
                  )
                }) }
              </div>
            </div>
          </section>
          <Footer />
        </div>
      </DocumentTitle>
    )
  }

}

export default PapersIndexPage<commit_msg>update formatting for papers page<commit_after>'use strict'

import {Component}      from 'react'
import {Link}           from 'react-router'
import DocumentTitle    from 'react-document-title'

import Header           from '../components/Header'
import Footer           from '../components/Footer'
import ArticleIndex     from '../components/ArticleIndex'
import docs             from '../../docs.json'

class PapersIndexPage extends Component {

  constructor(props) {
    super(props)

    this.state = {
      papers: [
        {
          title: "Blockstack: A Global Naming and Storage System Secured by Blockchains",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>",
          publication: "USENIX Annual Technical Conference",
          url: "https://blockstack.org/blockstack.pdf",
          date: "June 2016",
        },
        {
          title: "Bootstrapping Trust in Distributed Systems with Blockchains",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>:",
          publication: "USENIX ;login: issue: Fall 2016, Vol. 41, No. 3",
          url: "https://blockstack.org/blockstack-login.pdf",
          date: "June 2016",
        },
        {
          title: "Extending Existing Blockchains with Virtualchain",
          authors: "<NAME>, <NAME>, <NAME> and <NAME>",
          publication: "Workshop on Distributed Cryptocurrencies and Consensus Ledgers",
          url: "https://blockstack.org/virtualchain.pdf",
          date: "July 2016",
        },
      ]
    }
  }

  render() {
    return (
      <DocumentTitle title="Blockstack - Documentation">
        <div>
          <div className="container-fluid col-centered navbar-fixed-top bg-primary">
            <Header />
          </div>
          <section className="container-fluid spacing-container">
            <div className="container col-centered">
              <div className="container m-b-5">
                <h1>
                  Blockstack Papers
                </h1>
                { this.state.papers.map((paper, index) => {
                  return (
                    <div className="m-b-3">
                      <h4 className="m-b-1">
                        {index+1}. {paper.title}
                      </h4>
                      <p className="m-b-0">
                        {paper.authors}
                      </p>
                      <p className="m-b-1">
                        {paper.publication} - {paper.date}
                      </p>
                      <p className="m-b-1">
                        <Link to={paper.url} target="_blank"
                              className="btn btn-sm btn-outline-primary">
                          PDF
                        </Link>
                      </p>
                    </div>
                  )
                }) }
              </div>
            </div>
          </section>
          <Footer />
        </div>
      </DocumentTitle>
    )
  }

}

export default PapersIndexPage
{'fraction_non_alphanumeric': 0.12114384748700173, 'fraction_numerical': 0.008838821490467937, 'mean_word_length': 1.3612929623567922, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 84, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2819850', 'n_tokens_mistral': 1561, 'n_tokens_neox': 1445, 'n_words': 368}