1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-23 22:51:42 +00:00

fixed eslint error & integrated with prettier as well as formatted the whole codebase (#3450)

This commit is contained in:
Nguyen Viet Hung
2020-02-05 13:28:27 +13:00
committed by GitHub
parent 051ce9e208
commit 592aca1539
186 changed files with 9233 additions and 5565 deletions

View File

@@ -7,50 +7,93 @@ const electron = require('electron')
const { shell } = electron
class Crowdfunding extends React.Component {
constructor (props) {
constructor(props) {
super(props)
this.state = {
}
this.state = {}
}
handleLinkClick (e) {
handleLinkClick(e) {
shell.openExternal(e.currentTarget.href)
e.preventDefault()
}
render () {
render() {
return (
<div styleName='root'>
<div styleName='group-header'>{i18n.__('Crowdfunding')}</div>
<p>{i18n.__('Thank you for using Boostnote!')}</p>
<br />
<p>{i18n.__('We launched IssueHunt which is an issue-based crowdfunding / sourcing platform for open source projects.')}</p>
<p>{i18n.__('Anyone can put a bounty on not only a bug but also on OSS feature requests listed on IssueHunt. Collected funds will be distributed to project owners and contributors.')}</p>
<div styleName='group-header2--sub'>{i18n.__('Sustainable Open Source Ecosystem')}</div>
<p>{i18n.__('We discussed about open-source ecosystem and IssueHunt concept with the Boostnote team repeatedly. We actually also discussed with Matz who father of Ruby.')}</p>
<p>{i18n.__('The original reason why we made IssueHunt was to reward our contributors of Boostnote project. Weve got tons of Github stars and hundred of contributors in two years.')}</p>
<p>{i18n.__('We thought that it will be nice if we can pay reward for our contributors.')}</p>
<div styleName='group-header2--sub'>{i18n.__('We believe Meritocracy')}</div>
<p>{i18n.__('We think developers who have skills and do great things must be rewarded properly.')}</p>
<p>{i18n.__('OSS projects are used in everywhere on the internet, but no matter how they great, most of owners of those projects need to have another job to sustain their living.')}</p>
<p>
{i18n.__(
'We launched IssueHunt which is an issue-based crowdfunding / sourcing platform for open source projects.'
)}
</p>
<p>
{i18n.__(
'Anyone can put a bounty on not only a bug but also on OSS feature requests listed on IssueHunt. Collected funds will be distributed to project owners and contributors.'
)}
</p>
<div styleName='group-header2--sub'>
{i18n.__('Sustainable Open Source Ecosystem')}
</div>
<p>
{i18n.__(
'We discussed about open-source ecosystem and IssueHunt concept with the Boostnote team repeatedly. We actually also discussed with Matz who father of Ruby.'
)}
</p>
<p>
{i18n.__(
'The original reason why we made IssueHunt was to reward our contributors of Boostnote project. Weve got tons of Github stars and hundred of contributors in two years.'
)}
</p>
<p>
{i18n.__(
'We thought that it will be nice if we can pay reward for our contributors.'
)}
</p>
<div styleName='group-header2--sub'>
{i18n.__('We believe Meritocracy')}
</div>
<p>
{i18n.__(
'We think developers who have skills and do great things must be rewarded properly.'
)}
</p>
<p>
{i18n.__(
'OSS projects are used in everywhere on the internet, but no matter how they great, most of owners of those projects need to have another job to sustain their living.'
)}
</p>
<p>{i18n.__('It sometimes looks like exploitation.')}</p>
<p>{i18n.__('Weve realized IssueHunt could enhance sustainability of open-source ecosystem.')}</p>
<p>
{i18n.__(
'Weve realized IssueHunt could enhance sustainability of open-source ecosystem.'
)}
</p>
<br />
<p>{i18n.__('As same as issues of Boostnote are already funded on IssueHunt, your open-source projects can be also started funding from now.')}</p>
<p>
{i18n.__(
'As same as issues of Boostnote are already funded on IssueHunt, your open-source projects can be also started funding from now.'
)}
</p>
<br />
<p>{i18n.__('Thank you,')}</p>
<p>{i18n.__('The Boostnote Team')}</p>
<br />
<button styleName='cf-link'>
<a href='http://bit.ly/issuehunt-from-boostnote-app' onClick={(e) => this.handleLinkClick(e)}>{i18n.__('See IssueHunt')}</a>
<a
href='http://bit.ly/issuehunt-from-boostnote-app'
onClick={e => this.handleLinkClick(e)}
>
{i18n.__('See IssueHunt')}
</a>
</button>
</div>
)
}
}
Crowdfunding.propTypes = {
}
Crowdfunding.propTypes = {}
export default CSSModules(Crowdfunding, styles)