client/components/pages/about.js

"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _freeSolidSvgIcons = require("@fortawesome/free-solid-svg-icons");
var _reactFontawesome = require("@fortawesome/react-fontawesome");
var _react = _interopRequireDefault(require("react"));
var _freeBrandsSvgIcons = require("@fortawesome/free-brands-svg-icons");
/*
 * Copyright (C) 2015  Ben Ockmore
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/**
 * Renders the document and displays the 'About' page.
 * @returns {ReactElement} a HTML document which displays the About
 * page
 */
function AboutPage() {
  var NESLink = 'https://ocharles.org.uk/blog/posts/' + '2012-07-10-nes-does-it-better-1.html';
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
    className: "page-header"
  }, /*#__PURE__*/_react.default.createElement("h1", null, "About BookBrainz")), /*#__PURE__*/_react.default.createElement("p", {
    className: "lead"
  }, "BookBrainz is an online encyclopaedia which contains information about published literature. Our aim is to collect and store data about every book, magazine, journal or other publication ever written."), /*#__PURE__*/_react.default.createElement("p", null, "We are committed to making BookBrainz the definitive source of publication metadata. We hope to attract many contributors, who will be able to use their knowledge of literature to expand the database through our website. If you think you can help,\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "/register"
  }, "become a BookBrainz editor!")), /*#__PURE__*/_react.default.createElement("p", null, "BookBrainz relies on contributions from editors to expand the knowledge contained in the database. Editors can add new data to the site, fix any errors in the existing information, and create links between pieces of information."), /*#__PURE__*/_react.default.createElement("h2", null, "Accessing the data"), /*#__PURE__*/_react.default.createElement("p", null, "The BookBrainz data is freely available to everyone, for any use. Please see our ", /*#__PURE__*/_react.default.createElement("a", {
    href: "/licensing"
  }, " licensing page"), " for more details."), /*#__PURE__*/_react.default.createElement("p", null, "Regular database dumps (Postgres) can be found", /*#__PURE__*/_react.default.createElement("a", {
    href: "http://ftp.musicbrainz.org/pub/musicbrainz/bookbrainz/latest.sql.bz2"
  }, " at this address.")), /*#__PURE__*/_react.default.createElement("p", null, "We also have a webservice (or API) under development with", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://api.test.bookbrainz.org/1/docs/"
  }, " live documentation"), "."), /*#__PURE__*/_react.default.createElement("h2", null, "Contact Us"), /*#__PURE__*/_react.default.createElement("div", {
    style: {
      alignItems: 'center',
      display: 'flex',
      justifyContent: 'space-evenly'
    }
  }, /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "margin-sides-1 contact-text",
    icon: _freeSolidSvgIcons.faCircle
  }), /*#__PURE__*/_react.default.createElement("a", {
    className: "contact-text",
    href: "//kiwiirc.com/nextclient/irc.libera.chat/?#bookbrainz"
  }, /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "contact-text",
    icon: _freeSolidSvgIcons.faCommentDots,
    size: "2x"
  }), "IRC"), /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "margin-sides-1 contact-text",
    icon: _freeSolidSvgIcons.faCircle
  }), /*#__PURE__*/_react.default.createElement("a", {
    className: "contact-text",
    href: "//community.metabrainz.org/c/bookbrainz"
  }, /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "contact-text",
    icon: _freeSolidSvgIcons.faComments,
    size: "2x"
  }), "Forums"), /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "margin-sides-1 contact-text",
    icon: _freeSolidSvgIcons.faCircle
  }), /*#__PURE__*/_react.default.createElement("a", {
    className: "contact-text",
    href: "//twitter.com/intent/tweet?screen_name=BookBrainz"
  }, /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "contact-text",
    icon: _freeBrandsSvgIcons.faTwitter,
    size: "2x"
  }), "Twitter"), /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "margin-sides-1 contact-text",
    icon: _freeSolidSvgIcons.faCircle
  }), /*#__PURE__*/_react.default.createElement("a", {
    className: "contact-text",
    href: "mailto:bookbrainz@metabrainz.org"
  }, /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "contact-text",
    icon: _freeSolidSvgIcons.faEnvelope,
    size: "2x"
  }), "Email"), /*#__PURE__*/_react.default.createElement(_reactFontawesome.FontAwesomeIcon, {
    className: "margin-sides-1 contact-text",
    icon: _freeSolidSvgIcons.faCircle
  })), /*#__PURE__*/_react.default.createElement("h2", null, "Our Story"), /*#__PURE__*/_react.default.createElement("p", null, "BookBrainz was conceived in 2011, during a discussion in the MusicBrainz IRC channel. It was initially championed by\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://github.com/ocharles"
  }, "Oliver Charles"), " who was a core MusicBrainz developer at the time, and the code was written in Haskell. While a number of people contributed to this early version of BookBrainz, it lost momentum after a couple of years."), /*#__PURE__*/_react.default.createElement("p", null, "Another MusicBrainz community member,\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://github.com/Leftmostcat"
  }, "Sean Burke"), ", who had been involved with BookBrainz from the beginning, rekindled the project in May 2014, starting from scratch using the node.js framework. Although there was an initial burst of activity and good progress made on the site design, after a month or so, Sean didn\u2019t have time to maintain the initial level of activity."), /*#__PURE__*/_react.default.createElement("p", null, "Around the time of the annual MusicBrainz summit in 2014, a third MusicBrainz community member,\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://github.com/LordSputnik"
  }, "Ben Ockmore"), ", started to take an interest in the project. New discussions were held in the BookBrainz IRC channel, and progress was made on a new node.js site and webservice. After a couple of months, the decision was made to switch from node.js to Python for the webservice, and progress has continued steadily since then. Recently, in order to reduce duplication of code, it was decided to once again use node.js for all code, and work is ongoing to achieve this."), /*#__PURE__*/_react.default.createElement("p", null, "In September 2018, a full-time position was opened for BookBrainz to become an official project of MetaBrainz, and,\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://github.com/MonkeyDo"
  }, "Nicolas Pelletier (AKA Monkey)"), " became the project lead."), /*#__PURE__*/_react.default.createElement("p", null, "From the beginning, BookBrainz was closely tied with the\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: NESLink
  }, "New Edit System (NES)"), " for MusicBrainz, which was designed by Oliver to introduce a Git-style framework for managing contributions to MusicBrainz. Both projects were initially written in Haskell, and BookBrainz used an adapted version of NES as its edit system. The NES has also been the basis for the edit system in the current iteration of BookBrainz."));
}
AboutPage.displayName = 'AboutPage';
var _default = AboutPage;
exports.default = _default;
//# sourceMappingURL=about.js.map