UPDATE: User Preference SideBar.

Can try access DB and Render what user wants/follows
This commit is contained in:
EvanLin3141
2025-02-06 00:01:09 +00:00
parent bd7a44ed3c
commit b44ca46034
9 changed files with 72 additions and 87 deletions

View File

@@ -77,10 +77,10 @@ const Navbar: React.FC<NavbarProps> = ({
extraClasses={`absolute ${showSideBar ? `fixed top-[20px] left-[20px] p-2 text-[1.5rem] text-white hover:text-white
bg-black/30 hover:bg-purple-500/80 rounded-md border border-gray-300 hover:border-white h
over:border-b-4 hover:border-l-4 active:border-b-2 active:border-l-2 transition-all ` :
"top-[75px] left-[20px]"
"top-[75px] left-[20px]"
} transition-all duration-300 z-[99]`}
>
<SidebarIcon className="h-15 w-15 mr-1 z-[90]" />
<SidebarIcon className="top-[0.20em] left-[10em] mr-1 z-[90]" />
</Button>
<div
className={`fixed top-0 left-0 w-[250px] h-screen bg-[var(--sideBar-LightBG)] text-[var(--sideBar-LightText)] z-[90] overflow-y-auto scrollbar-hide