var html = require('choo/html')
var repos = require('./repos')
var layout = require('./layout')

function view (state, emit) {
  return layout(state, emit, function () {
    document.title = 'Fruitful'

    return html`
      <div>
        <p class="measure lh-copy">
          Fruitful is a community of volunteers who are joining forces to
          maintain adopted or abandoned JavaScript packages. We strongly value
          collaboration when maintaining packages, and this is reflected in our
          work.
        </p>
        <p class="measure lh-copy">
          One of our fundamental principles is that everyone is welcome. We
          pride ourselves in being an inclusive project, and every contributor
          is invited into the organization.
        </p>

        <p>
        	Sound interesting? Start by reading the
					<a href="https://github.com/fruitfuljs/fruitfuljs/blob/master/MIGRATING.md" class="link blue">migration guide</a>!
				</p>

        <h1 class="f3 mb0">Repositories</h1>
        ${repos(state, emit)}
      </div>
    `
  })
}

module.exports = view

var html = require('choo/html')
var repos = require('./repos')
var layout = require('./layout')

function view (state, emit) {
  return layout(state, emit, function () {
    document.title = 'Fruitful'

    return html`
      <div>
        <p class="measure lh-copy">
          Fruitful is a community of volunteers who are joining forces to
          maintain adopted or abandoned JavaScript packages. We strongly value
          collaboration when maintaining packages, and this is reflected in our
          work.
        </p>
        <p class="measure lh-copy">
          One of our fundamental principles is that everyone is welcome. We
          pride ourselves in being an inclusive project, and every contributor
          is invited into the organization.
        </p>

        <p>
          Sound interesting? Start by reading the
          <a href="https://github.com/fruitfuljs/fruitfuljs/blob/master/MIGRATING.md" class="link blue">migration guide</a>!
        </p>

        <h1 class="f3 mb0">Repositories</h1>
        ${repos(state, emit)}
      </div>
    `
  })
}

module.exports = view

replace tabs with spaces