client/components/pages/contribute.js

"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
/*
 * 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 the document and displays the 'Contribute' page.
 * @returns {JSX.Element} a React JSX Element
 */
function ContributePage() {
  var IRCLink = 'https://kiwiirc.com/nextclient/irc.libera.chat/?#bookbrainz';
  var styleLink = 'https://bookbrainz-user-guide.readthedocs.io/';
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
    className: "page-header"
  }, /*#__PURE__*/_react.default.createElement("h1", null, "Contributing to BookBrainz")), /*#__PURE__*/_react.default.createElement("p", {
    className: "lead"
  }, "There are many ways that you can contribute to the BookBrainz online encyclopedia, depending on where your particular skills lie."), /*#__PURE__*/_react.default.createElement("h2", null, "Editing"), /*#__PURE__*/_react.default.createElement("p", null, "If you come to BookBrainz with new information about a particular book, you\u2019ll want to edit the database.", /*#__PURE__*/_react.default.createElement("br", null), "To do that, you\u2019ll first need an account, which you can get by\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "/register"
  }, "registering"), ". Then, you\u2019ll be able to add your new information by editing an entity.", /*#__PURE__*/_react.default.createElement("br", null)), /*#__PURE__*/_react.default.createElement("p", null, "Please follow the\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: styleLink
  }, "BookBrainz style guidelines"), " when adding data.", /*#__PURE__*/_react.default.createElement("br", null), " They are still a work in progress and should they not cover some cases, please refer to the\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "http://musicbrainz.org/doc/Style"
  }, "MusicBrainz ones"), ", adapting as necessary."), /*#__PURE__*/_react.default.createElement("p", null, "If you find duplicates, instead of deleting them, please follow\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://bookbrainz-user-guide.readthedocs.io/en/latest/tutorials/merge/"
  }, "this tutorial"), "\xA0to learn how to merge them, so that any resource pointing to a merged item will be redirected properly."), /*#__PURE__*/_react.default.createElement("h2", null, "Programming"), /*#__PURE__*/_react.default.createElement("p", null, "If you\u2019re someone who\u2019s good at using JavaScript, NodeJS, SQL or LESS/SASS, we\u2019d love to have your help developing BookBrainz. Take a look at our\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://wiki.musicbrainz.org/Development/Priorities#BookBrainz"
  }, "roadmap"), "\xA0to see if there are any issues or project that interests you. Our code is all open source and hosted\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://github.com/metabrainz?q=bookbrainz"
  }, "on GitHub")), /*#__PURE__*/_react.default.createElement("h2", null, "Community"), /*#__PURE__*/_react.default.createElement("p", null, "No matter whether you feel like you fit in one of these categories, think you can contribute in a different area, or just want to chat, feel free to drop in and meet us on the MetaBrainz\xA0", /*#__PURE__*/_react.default.createElement("a", {
    href: IRCLink
  }, "IRC channel"), "!"), /*#__PURE__*/_react.default.createElement("p", null, "You can also get in touch and discuss with the community", /*#__PURE__*/_react.default.createElement("a", {
    href: "https://community.metabrainz.org/c/bookbrainz"
  }, " on our forums,"), "\xA0or send us", /*#__PURE__*/_react.default.createElement("a", {
    href: "mailto:bookbrainz@metabrainz.org"
  }, " an email.")));
}
ContributePage.displayName = 'ContributePage';
var _default = ContributePage;
exports.default = _default;
//# sourceMappingURL=contribute.js.map