Page Speed (#470)

* Added page speed route and fallback UI

* Added first batch of components and route to create a page-speed monitor

* Added basic styling

* Added checkboxes and removed old component

* Added monitor card and some styling

* Moved time functions to separate file and added formatDate function

* Added status label

* Changed sidebar item priority and small styling fix

* Small styling changes
This commit is contained in:
Daniel C authored and GitHub committed 2024-07-28 13:51:47 -07:00
1 parent 954d11b7c4
commit db66ba849b
17 files changed
+423 -156

No files matched your search

+10
View File
@@ -22,6 +22,8 @@ import Details from "./Pages/Monitors/Details";
import Maintenance from "./Pages/Maintenance";
import withAdminCheck from "./HOC/withAdminCheck";
import Configure from "./Pages/Monitors/Configure";
import PageSpeed from "./Pages/PageSpeed";
import CreatePageSpeed from "./Pages/PageSpeed/CreatePageSpeed";
function App() {
const AdminCheckedRegister = withAdminCheck(Register);
@@ -83,6 +85,14 @@ function App() {
path="account/team"
element={<ProtectedRoute Component={Account} open="team" />}
/>
<Route
path="page-speed"
element={<ProtectedRoute Component={PageSpeed} />}
/>
<Route
path="page-speed/create"
element={<ProtectedRoute Component={CreatePageSpeed} />}
/>
</Route>
<Route exact path="/login" element={<Login />} />