mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-18 07:39:54 -06:00
Merge pull request #56 from bluewave-labs/client/subroutes
Added subroutes to homelayout and created basic components resolves #45
This commit is contained in:
@@ -6,12 +6,23 @@ import Register from "./Pages/Register";
|
||||
import HomeLayout from "./Layouts/HomeLayout";
|
||||
import Demo from "./Pages/Demo/Demo";
|
||||
import PlayGround from "./Pages/PlayGround/PlayGround";
|
||||
import Monitors from "./Pages/Monitors"
|
||||
import Incidents from "./Pages/Incidents";
|
||||
import Status from "./Pages/Status";
|
||||
import Integrations from "./Pages/Integrations";
|
||||
import Settings from "./Pages/Settings";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<Routes>
|
||||
<Route exact path="/" element={<HomeLayout />} />
|
||||
<Route exact path="/" element={<HomeLayout />} >
|
||||
<Route path="monitors" element={<Monitors />} />
|
||||
<Route path="incidents" element={<Incidents />} />
|
||||
<Route path="status" element={<Status />} />
|
||||
<Route path="integrations" element={<Integrations />} />
|
||||
<Route path="settings" element={<Settings />} />
|
||||
</Route>
|
||||
<Route exact path="/register" element={<Register />} />
|
||||
<Route exact path="/login" element={<Login />} />
|
||||
<Route exact path="/demo" element={<Demo />} />
|
||||
|
||||
@@ -8,10 +8,6 @@ const Home = () => {
|
||||
return (
|
||||
<>
|
||||
<div>Home</div>
|
||||
<DropdownTeamMember />
|
||||
<Search />
|
||||
<DashboardMenu />
|
||||
<Integrations />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
0
Client/src/Pages/Incidents/index.css
Normal file
0
Client/src/Pages/Incidents/index.css
Normal file
9
Client/src/Pages/Incidents/index.jsx
Normal file
9
Client/src/Pages/Incidents/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
|
||||
const Incidents = () => {
|
||||
return (
|
||||
<div>Incidents</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Incidents
|
||||
0
Client/src/Pages/Integrations/index.css
Normal file
0
Client/src/Pages/Integrations/index.css
Normal file
9
Client/src/Pages/Integrations/index.jsx
Normal file
9
Client/src/Pages/Integrations/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
|
||||
const Integrations = () => {
|
||||
return (
|
||||
<div>Integrations</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Integrations
|
||||
0
Client/src/Pages/Monitors/index.css
Normal file
0
Client/src/Pages/Monitors/index.css
Normal file
9
Client/src/Pages/Monitors/index.jsx
Normal file
9
Client/src/Pages/Monitors/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
|
||||
const Monitors = () => {
|
||||
return (
|
||||
<div>Monitors</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Monitors
|
||||
0
Client/src/Pages/Settings/index.css
Normal file
0
Client/src/Pages/Settings/index.css
Normal file
9
Client/src/Pages/Settings/index.jsx
Normal file
9
Client/src/Pages/Settings/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
|
||||
const Settings = () => {
|
||||
return (
|
||||
<div>Settings</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Settings
|
||||
0
Client/src/Pages/Status/index.css
Normal file
0
Client/src/Pages/Status/index.css
Normal file
9
Client/src/Pages/Status/index.jsx
Normal file
9
Client/src/Pages/Status/index.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
|
||||
const Status = () => {
|
||||
return (
|
||||
<div>Status</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Status
|
||||
Reference in New Issue
Block a user