From 87523beba91db8ed9c9a33168e453970d7ad0178 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 17 May 2023 05:05:27 +0100 Subject: [PATCH] Side bar Menu Close Bug Fixed --- src/components/Partials/Sidebar.jsx | 117 ++++++++++++++++++++++------ 1 file changed, 93 insertions(+), 24 deletions(-) diff --git a/src/components/Partials/Sidebar.jsx b/src/components/Partials/Sidebar.jsx index b2f55a1..dfefd3c 100644 --- a/src/components/Partials/Sidebar.jsx +++ b/src/components/Partials/Sidebar.jsx @@ -112,7 +112,7 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { title={name} route={path} bubble={bubble} - sidebar + sidebar = {sidebar} /> ))} {/*
  • */} @@ -220,34 +220,103 @@ export default function Sidebar({ sidebar, action, logoutModalHandler }) { - {/*
    */} - {/*
    */} - {/* */} - {/* */} - {/* Family Account*/} - {/* */} - {/* */} - {/*
    */} - {/*
    */} -
    -
    - -

    - Family Corner -

    -
    + {/*
    +
    + + + Family Account + + +
    +
    */} + + {/* menu and settings item */} +
    + {/* menus item */} +
    + {/*
    + +

    + Family Corner +

    +
    +
    */} +
    +
    +

    Family

    +
    +
      +
    • + (navData.isActive ? "active" : ""), + sidebar ? "justify-start space-x-3.5" : "justify-center") + }`} + > + + + + + Family Corner + + +
    • +
    +
    {!userDetails.post_jobs ? ( -
    -
    - - - Enable Job Post - - + +
    + {/* menus item */} +
    + {/*
    +
    + + + Enable Job Post + + +
    +
    */} +
    +
    +

    Job Post

    +
    +
      +
    • + (navData.isActive ? "active" : ""), + sidebar ? "justify-start space-x-3.5" : "justify-center") + }`} + > + + + + + Enable Job Post + + +
    • +
    +
    ) : jobLists?.result_list?.length ? ( -- 2.34.1