Updated background images

This commit is contained in:
dbroqua 2018-12-11 10:27:02 +01:00
parent 7231beb222
commit 8c3ad7091b
11 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

BIN
public/background/home.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

BIN
public/background/map.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View file

@ -9,7 +9,7 @@ import '../css/Home.css';
export default class RouterHome extends React.Component {
render() {
// this.props.changeBackground()
this.props.changeBackground('home')
return (
<Container>

View file

@ -31,6 +31,7 @@ export default class RouterMap extends React.Component {
this.selectVegetable = this.selectVegetable.bind(this);
this.getVegetablesTypes();
this.props.changeBackground('map')
}
getVegetablesTypes() {

View file

@ -49,6 +49,7 @@ export default class RouterVegetable extends React.Component {
this.onExited = this.onExited.bind(this);
this.getItem();
this.props.changeBackground('vegetables')
}
onExiting() {

View file

@ -26,6 +26,7 @@ export default class RouterVegetables extends React.Component {
this.selectVegetable = this.selectVegetable.bind(this);
this.getItem();
this.props.changeBackground('vegetables')
}
getItem() {