Updated background images
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 164 KiB |
BIN
public/background/home.jpg
Normal file
After Width: | Height: | Size: 458 KiB |
BIN
public/background/map.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
public/background/vegetables.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
|
@ -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>
|
||||
|
|
|
@ -31,6 +31,7 @@ export default class RouterMap extends React.Component {
|
|||
this.selectVegetable = this.selectVegetable.bind(this);
|
||||
|
||||
this.getVegetablesTypes();
|
||||
this.props.changeBackground('map')
|
||||
}
|
||||
|
||||
getVegetablesTypes() {
|
||||
|
|
|
@ -49,6 +49,7 @@ export default class RouterVegetable extends React.Component {
|
|||
this.onExited = this.onExited.bind(this);
|
||||
|
||||
this.getItem();
|
||||
this.props.changeBackground('vegetables')
|
||||
}
|
||||
|
||||
onExiting() {
|
||||
|
|
|
@ -26,6 +26,7 @@ export default class RouterVegetables extends React.Component {
|
|||
this.selectVegetable = this.selectVegetable.bind(this);
|
||||
|
||||
this.getItem();
|
||||
this.props.changeBackground('vegetables')
|
||||
}
|
||||
|
||||
getItem() {
|
||||
|
|