+
+ {/* */}
-
-
- {libraries.isLoading ? (
- <>
-
- >
- ) : (
- <>
-
- {libraries.data.Items.map(
- (library, index) => {
- return (
-
-
+
+ {libraries.isLoading ? (
+ <>
+
+ >
+ ) : (
+ <>
+
+ {libraries.data.Items.map(
+ (library, index) => {
+ return (
+
-
-
- {
- MediaCollectionTypeIconCollection[
- library
- .CollectionType
- ]
- }
-
-
-
-
- );
- },
- )}
-
-
-
-
+ {
+ MediaCollectionTypeIconCollection[
+ library
+ .CollectionType
+ ]
+ }
+
+
+
+
+ );
+ },
+ )}
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ )}
+
+
+
setDrawerOpen(false)}
+ elevation={0}
+ PaperProps={{
+ sx: {
+ m: 1,
+ height: "auto",
+ minHeight: "-webkit-fill-available",
+ background: "transparent",
+ backdropFilter: "blur(15px)",
+ borderRadius: "15px",
+ boxShadow: "0 0 15px rgb(0 0 0 / 0.2)",
+ width: 260,
+ },
+ }}
+ >
+
+
+ {libraries.isLoading ? (
+ <>
+
+ >
+ ) : (
+ <>
+
+ {libraries.data.Items.map(
+ (library, index) => {
+ return (
+
+
+
+
+ {
+ MediaCollectionTypeIconCollection[
+ library
+ .CollectionType
+ ]
+ }
+
+
+ {
+ library.Name
+ }
+
+
+
+
+ );
+ },
+ )}
+
+
+
+
+
+
-
-
-
-
-
-
- >
- )}
-
+
+
+
+
+ Home
+
+
+
+
+
+
+
+
+
+
+
+ Logout
+
+
+
+
+
+ >
+ )}
+
+ >
);
}
};
diff --git a/src/utils/store/drawer.js b/src/utils/store/drawer.js
new file mode 100644
index 0000000..b8f6fff
--- /dev/null
+++ b/src/utils/store/drawer.js
@@ -0,0 +1,8 @@
+/** @format */
+
+import { create } from "zustand";
+
+export const useDrawerStore = create((set) => ({
+ open: false,
+ setOpen: (sopen) => set((state) => ({ ...state, open: sopen })),
+}));