From 3537f3fa194169f6e6f08b28dc3f9d7bbf87a2ef Mon Sep 17 00:00:00 2001 From: veyselboybay Date: Wed, 22 May 2024 17:14:34 -0400 Subject: [PATCH] Added subroutes to homelayout and created basic respective components, and removed demo components from home page #45 --- Client/src/App.jsx | 13 ++++++++++++- Client/src/Pages/Home/index.jsx | 4 ---- Client/src/Pages/Incidents/index.css | 0 Client/src/Pages/Incidents/index.jsx | 9 +++++++++ Client/src/Pages/Integrations/index.css | 0 Client/src/Pages/Integrations/index.jsx | 9 +++++++++ Client/src/Pages/Monitors/index.css | 0 Client/src/Pages/Monitors/index.jsx | 9 +++++++++ Client/src/Pages/Settings/index.css | 0 Client/src/Pages/Settings/index.jsx | 9 +++++++++ Client/src/Pages/Status/index.css | 0 Client/src/Pages/Status/index.jsx | 9 +++++++++ 12 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 Client/src/Pages/Incidents/index.css create mode 100644 Client/src/Pages/Incidents/index.jsx create mode 100644 Client/src/Pages/Integrations/index.css create mode 100644 Client/src/Pages/Integrations/index.jsx create mode 100644 Client/src/Pages/Monitors/index.css create mode 100644 Client/src/Pages/Monitors/index.jsx create mode 100644 Client/src/Pages/Settings/index.css create mode 100644 Client/src/Pages/Settings/index.jsx create mode 100644 Client/src/Pages/Status/index.css create mode 100644 Client/src/Pages/Status/index.jsx diff --git a/Client/src/App.jsx b/Client/src/App.jsx index cfbc69f50..9b21de1a4 100644 --- a/Client/src/App.jsx +++ b/Client/src/App.jsx @@ -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 ( <> - } /> + } > + } /> + } /> + } /> + } /> + } /> + } /> } /> } /> diff --git a/Client/src/Pages/Home/index.jsx b/Client/src/Pages/Home/index.jsx index a1ad8e314..fa932dad9 100644 --- a/Client/src/Pages/Home/index.jsx +++ b/Client/src/Pages/Home/index.jsx @@ -8,10 +8,6 @@ const Home = () => { return ( <>
Home
- - - - ); }; diff --git a/Client/src/Pages/Incidents/index.css b/Client/src/Pages/Incidents/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Pages/Incidents/index.jsx b/Client/src/Pages/Incidents/index.jsx new file mode 100644 index 000000000..e1aa44740 --- /dev/null +++ b/Client/src/Pages/Incidents/index.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Incidents = () => { + return ( +
Incidents
+ ) +} + +export default Incidents \ No newline at end of file diff --git a/Client/src/Pages/Integrations/index.css b/Client/src/Pages/Integrations/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Pages/Integrations/index.jsx b/Client/src/Pages/Integrations/index.jsx new file mode 100644 index 000000000..1df87ee52 --- /dev/null +++ b/Client/src/Pages/Integrations/index.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Integrations = () => { + return ( +
Integrations
+ ) +} + +export default Integrations \ No newline at end of file diff --git a/Client/src/Pages/Monitors/index.css b/Client/src/Pages/Monitors/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Pages/Monitors/index.jsx b/Client/src/Pages/Monitors/index.jsx new file mode 100644 index 000000000..6d4e3d59d --- /dev/null +++ b/Client/src/Pages/Monitors/index.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Monitors = () => { + return ( +
Monitors
+ ) +} + +export default Monitors \ No newline at end of file diff --git a/Client/src/Pages/Settings/index.css b/Client/src/Pages/Settings/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Pages/Settings/index.jsx b/Client/src/Pages/Settings/index.jsx new file mode 100644 index 000000000..639bbef54 --- /dev/null +++ b/Client/src/Pages/Settings/index.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Settings = () => { + return ( +
Settings
+ ) +} + +export default Settings \ No newline at end of file diff --git a/Client/src/Pages/Status/index.css b/Client/src/Pages/Status/index.css new file mode 100644 index 000000000..e69de29bb diff --git a/Client/src/Pages/Status/index.jsx b/Client/src/Pages/Status/index.jsx new file mode 100644 index 000000000..33729f7e1 --- /dev/null +++ b/Client/src/Pages/Status/index.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Status = () => { + return ( +
Status
+ ) +} + +export default Status \ No newline at end of file