Skip to content

Commit

Permalink
Merge pull request #1133 from BoostIO/add-Community-on-tab
Browse files Browse the repository at this point in the history
Add community on tab in preferences
  • Loading branch information
kazup01 authored Nov 16, 2017
2 parents f5972c2 + 81b550e commit 7380fc8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 17 deletions.
47 changes: 31 additions & 16 deletions browser/main/modals/PreferencesModal/InfoTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'>
Expand All @@ -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)}
Expand Down
4 changes: 4 additions & 0 deletions browser/main/modals/PreferencesModal/Tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion browser/main/modals/PreferencesModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
]

Expand Down

0 comments on commit 7380fc8

Please sign in to comment.