style: redesigned sidebar, added new icons and spacing changes

This commit is contained in:
Dakshesh Jain 2023-02-28 16:48:02 +05:30
parent 1b369feb6a
commit 73567dc7fc
15 changed files with 315 additions and 185 deletions

View file

@ -20,7 +20,7 @@ const Sidebar: React.FC<SidebarProps> = ({ toggleSidebar, setToggleSidebar }) =>
return (
<nav className="relative z-20 h-screen">
<div
className={`${sidebarCollapse ? "" : "w-auto md:w-60"} fixed inset-y-0 top-0 ${
className={`${sidebarCollapse ? "" : "w-auto md:w-80"} fixed inset-y-0 top-0 ${
toggleSidebar ? "left-0" : "-left-60 md:left-0"
} flex h-full flex-col bg-white duration-300 md:relative`}
>