add main menu navigation and door lock charges page
This commit is contained in:
18
client/src/scenes/DoorLockCharges/index.js
Normal file
18
client/src/scenes/DoorLockCharges/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import MainMenu from '../../components/MainMenu';
|
||||
|
||||
class DoorLockCharges extends Component {
|
||||
|
||||
render () {
|
||||
return (
|
||||
<div>
|
||||
<MainMenu/>
|
||||
<h3>Door Lock Charges</h3>
|
||||
<hr/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default DoorLockCharges;
|
||||
@@ -1,5 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import MainMenu from '../../components/MainMenu';
|
||||
|
||||
class Home extends Component {
|
||||
state = {
|
||||
apiStatus: 'loading',
|
||||
@@ -24,6 +26,7 @@ class Home extends Component {
|
||||
const {apiStatus} = this.state;
|
||||
return (
|
||||
<div>
|
||||
<MainMenu/>
|
||||
<h3>CRM Integration</h3>
|
||||
<hr/>
|
||||
<h5>Integration API Status : {apiStatus}</h5>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import React from 'react';
|
||||
import MainMenu from "../../components/MainMenu";
|
||||
|
||||
export default function NotFound () {
|
||||
return (
|
||||
<div>
|
||||
<MainMenu/>
|
||||
<hr />
|
||||
<h1>Page not found</h1>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user