1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Add community on tab in preferences

This commit is contained in:
Kazu Yokomizo
2017-11-16 21:14:07 +09:00
parent f5972c273b
commit 81b550e66c
3 changed files with 36 additions and 17 deletions

View File

@@ -68,7 +68,36 @@ class InfoTab extends React.Component {
render () {
return (
<div styleName='root'>
<div styleName='header'>Info</div>
<div styleName='header--sub'>Community</div>
<div styleName='top'>
<ul styleName='list'>
<li>
<a href='https://github.com/BoostIO/Boostnote/issues'
onClick={(e) => this.handleLinkClick(e)}
>GitHub</a>
</li>
<li>
<a href='https://medium.com/boostnote'
onClick={(e) => this.handleLinkClick(e)}
>Blog</a>
</li>
<li>
<a href='https://www.reddit.com/r/Boostnote/'
onClick={(e) => this.handleLinkClick(e)}
>Reddit</a>
</li>
<li>
<a href='https://twitter.com/boostnoteapp'
onClick={(e) => this.handleLinkClick(e)}
>Twitter</a>
</li>
</ul>
</div>
<hr />
<div styleName='header--sub'>Info</div>
<div styleName='top'>
<div styleName='icon-space'>
@@ -81,27 +110,13 @@ class InfoTab extends React.Component {
</div>
</div>
</div>
<ul styleName='list'>
<li>
<a href='https://boostnote.io'
onClick={(e) => this.handleLinkClick(e)}
>Website</a>
</li>
<li>
<a href='https://medium.com/boostnote'
onClick={(e) => this.handleLinkClick(e)}
>Blog</a> : We have publishing the tips.
</li>
<li>
<a href='https://opencollective.com/boostnoteio'
onClick={(e) => this.handleLinkClick(e)}
>Crowdfunding</a> : Thank you for your support.
</li>
<li>
<a href='https://github.com/BoostIO/Boostnote/issues'
onClick={(e) => this.handleLinkClick(e)}
>GitHub Repository and Issue</a> : We&apos;d love to hear your feedback!
</li>
<li>
<a href='https://github.com/BoostIO/Boostnote/blob/master/docs/build.md'
onClick={(e) => this.handleLinkClick(e)}

View File

@@ -13,6 +13,10 @@ $tab--dark-text-color = #E5E5E5
font-size 36px
margin-bottom 60px
.header--sub
font-size 36px
margin-bottom 20px
body[data-theme="dark"]
.header
color $tab--dark-text-color

View File

@@ -100,7 +100,7 @@ class Preferences extends React.Component {
{target: 'STORAGES', label: 'Storages'},
{target: 'HOTKEY', label: 'Hotkey'},
{target: 'UI', label: 'UI'},
{target: 'INFO', label: 'Info'},
{target: 'INFO', label: 'Community / Info'},
{target: 'CROWDFUNDING', label: 'Crowdfunding'}
]