mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
rewite whole code
add dataApi renew PreferencesModal
This commit is contained in:
39
browser/main/modals/PreferencesModal/InfoTab.js
Normal file
39
browser/main/modals/PreferencesModal/InfoTab.js
Normal file
@@ -0,0 +1,39 @@
|
||||
import React, { PropTypes } from 'react'
|
||||
import CSSModules from 'browser/lib/CSSModules'
|
||||
import styles from './InfoTab.styl'
|
||||
|
||||
const appVersion = global.process.version
|
||||
|
||||
class InfoTab extends React.Component {
|
||||
constructor (props) {
|
||||
super(props)
|
||||
|
||||
this.state = {
|
||||
}
|
||||
}
|
||||
|
||||
render () {
|
||||
return (
|
||||
<div styleName='root'>
|
||||
<div styleName='top'>
|
||||
<img styleName='icon' src='../resources/app.png' width='150' height='150'/>
|
||||
<div styleName='appId'>Boostnote {appVersion}</div>
|
||||
<div styleName='madeBy'>Made by MAISIN&CO.</div>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
- License : GPLv3
|
||||
</li>
|
||||
<li>
|
||||
- Issue Tracker : <a href='https://github.com/BoostIO/Boostnote/issues'>https://github.com/BoostIO/Boostnote/issues</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
InfoTab.propTypes = {
|
||||
}
|
||||
|
||||
export default CSSModules(InfoTab, styles)
|
||||
Reference in New Issue
Block a user