diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 7e7ff45f..1a29c33f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -11,7 +11,9 @@ import ImportCaddy from './pages/ImportCaddy' import Certificates from './pages/Certificates' import SystemSettings from './pages/SystemSettings' import Account from './pages/Account' +import Settings from './pages/Settings' import Backups from './pages/Backups' +import Tasks from './pages/Tasks' import Logs from './pages/Logs' import Domains from './pages/Domains' import Login from './pages/Login' @@ -41,14 +43,14 @@ export default function App() { } /> {/* Settings Routes */} - + }> } /> } /> } /> {/* Tasks Routes */} - + }> } /> } /> } /> diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx new file mode 100644 index 00000000..c1d6af5e --- /dev/null +++ b/frontend/src/pages/Settings.tsx @@ -0,0 +1,44 @@ +import { Link, Outlet, useLocation } from 'react-router-dom' + +export default function Settings() { + const location = useLocation() + + const isActive = (path: string) => location.pathname === path + + return ( +
+
+

Settings

+

Manage system and account settings

+
+ +
+ + System + + + + Account + +
+ +
+ +
+
+ ) +} diff --git a/frontend/src/pages/Tasks.tsx b/frontend/src/pages/Tasks.tsx new file mode 100644 index 00000000..bc0411b2 --- /dev/null +++ b/frontend/src/pages/Tasks.tsx @@ -0,0 +1,44 @@ +import { Link, Outlet, useLocation } from 'react-router-dom' + +export default function Tasks() { + const location = useLocation() + + const isActive = (path: string) => location.pathname === path + + return ( +
+
+

Tasks

+

Manage system tasks and view logs

+
+ +
+ + Backups + + + + Logs + +
+ +
+ +
+
+ ) +}