"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactI18next = require("react-i18next");
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 a page containing a link to the current MusicBrainz privacy
* policy, which will form the basis of a future privacy policy
* for BookBrainz.
* @returns {JSX.Element} an element containing the rendered output
*/
function PrivacyPage() {
var _useTranslation = (0, _reactI18next.useTranslation)(),
translate = _useTranslation.t;
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
className: "page-header"
}, /*#__PURE__*/_react.default.createElement("h1", null, translate('common.privacy'))), /*#__PURE__*/_react.default.createElement("p", null, /*#__PURE__*/_react.default.createElement(_reactI18next.Trans, {
components: {
privacyLink: /*#__PURE__*/_react.default.createElement("a", {
href: "http://musicbrainz.org/doc/About/Privacy_Policy"
})
},
i18nKey: "staticPages.privacy.p1"
})), /*#__PURE__*/_react.default.createElement("p", null, translate('staticPages.privacy.p2')));
}
PrivacyPage.displayName = 'PrivacyPage';
var _default = exports.default = PrivacyPage;
//# sourceMappingURL=privacy.js.map