-
-
- {menuItems.map((i) => (
-
- {i.title}
-
- ))}
-
-
-
-
-
-
- );
-}
\ No newline at end of file
+export const AdministrationView = withSideMenu(menuItems);
\ No newline at end of file
diff --git a/src/main/frontend/views/ProfileView.tsx b/src/main/frontend/views/ProfileView.tsx
index e8fc3d2..4525785 100644
--- a/src/main/frontend/views/ProfileView.tsx
+++ b/src/main/frontend/views/ProfileView.tsx
@@ -1,45 +1,22 @@
-import {Listbox, ListboxItem} from "@nextui-org/react";
import {GearFine, Palette, User} from "@phosphor-icons/react";
-import {Outlet, useNavigate} from "react-router-dom";
+import withSideMenu from "Frontend/components/general/withSideMenu";
-export default function ProfileView() {
- const navigate = useNavigate();
+const menuItems = [
+ {
+ title: "My Profile",
+ url: "profile",
+ icon: