allow changing background image

This commit is contained in:
xmcp
2018-08-21 13:14:33 +08:00
parent 3497c664d5
commit 1ac4458223
4 changed files with 18 additions and 4 deletions

View File

@@ -31,7 +31,9 @@ class App extends Component {
render() {
return (
<div>
<div className="bg-img" />
<div className="bg-img" style={{
backgroundImage: 'url('+(localStorage['REPLACE_ERIRI_WITH_URL'] || '/eriri_bg.jpg')+')'
}} />
<Title callback={this.show_sidebar.bind(this)} set_search_text={this.set_search_text.bind(this)} />
<div className="left-container">
<Flow key={this.state.flow_render_key}