diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index 11dd13e..cdaa9bd 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -8,39 +8,57 @@ import {
ListItemIcon,
ListItemText,
Drawer,
+ Accordion,
+ AccordionSummary,
+ AccordionDetails,
} from "@mui/material";
+import {
+ FeaturedPlayList as FeaturedPlayListIcon,
+ Person as PersonIcon,
+ Analytics as AnalyticsIcon,
+ Logout as LogoutIcon,
+ Cottage as CottageIcon,
+ Settings as SettingsIcon,
+} from "@mui/icons-material";
import Link from "next/link";
-const MenuItem = ({ name, href, iconSize }: any) => (
+const MenuItem = ({ name, href, Icon, iconSize, indent = 0 }: any) => (
-
+
- {/* */}
+ {iconSize > 0 && }
a": {
+ textDecoration: "none !important",
+ },
+ "a:visited": {
+ textDecoration: "none !important",
+ },
+ border: 0,
}}
>
{name}
@@ -58,7 +76,7 @@ interface SidebarProps {
export const Sidebar: FC = ({ open }) => (
= ({ open }) => (
sx: {
width: 300,
border: 0,
-
- backgroundColor: "black !important",
},
}}
>
@@ -76,15 +92,95 @@ export const Sidebar: FC = ({ open }) => (
direction="column"
justifyContent="space-between"
wrap="nowrap"
- sx={{ backgroundColor: "black", height: "100%" }}
+ sx={{ backgroundColor: "#25272A", height: "100%", p: 2 }}
>
+
+
+ Hello
+
+
+
+
+ Agent/User
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/ZammadWrapper.tsx b/components/ZammadWrapper.tsx
new file mode 100644
index 0000000..edaec8d
--- /dev/null
+++ b/components/ZammadWrapper.tsx
@@ -0,0 +1,43 @@
+import { FC, useState } from "react";
+import Iframe from "react-iframe";
+
+type ZammadWrapperProps = {
+ url: string;
+ hideSidebar?: boolean;
+};
+
+export const ZammadWrapper: FC = ({
+ url,
+ hideSidebar = true,
+}) => {
+ const [display, setDisplay] = useState("none");
+
+ return (
+