Changeset a8381b1 for frontend/src/pages/Dashboard/components
- Timestamp:
- 05/06/26 19:00:44 (2 months ago)
- Branches:
- master
- Children:
- 42da64d
- Parents:
- b3d5fed
- Location:
- frontend/src/pages/Dashboard/components
- Files:
-
- 2 edited
-
DashboardSidebar.jsx (modified) (4 diffs)
-
DashboardTopbar.jsx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/Dashboard/components/DashboardSidebar.jsx
rb3d5fed ra8381b1 89 89 return ( 90 90 <Sidebar 91 className="py-6 "91 className="py-6 border-r border-white/10 bg-base-100/60 backdrop-blur-xl" 92 92 closeButtonClassName="fixed top-4 right-4" 93 93 collapsible="none" … … 114 114 className={ 115 115 isActive 116 ? " !bg-green-400 !text-black hover:!bg-green-400 active:!bg-green-400"117 : " "116 ? "bg-green-400! text-black! hover:bg-green-400! active:bg-green-400!" 117 : "hover:bg-white/10!" 118 118 } 119 119 > … … 156 156 className={ 157 157 isActive 158 ? " !bg-green-400 !text-black hover:!bg-green-400 active:!bg-green-400"159 : " "158 ? "bg-green-400! text-black! hover:bg-green-400! active:bg-green-400!" 159 : "hover:bg-white/10!" 160 160 } 161 161 > … … 185 185 <Button 186 186 variant="secondary" 187 className="w-full justify-start gap-2 !bg-green-400 !text-black hover:!bg-green-500"187 className="w-full justify-start gap-2 bg-green-400! text-black! hover:bg-green-500!" 188 188 type="button" 189 189 onClick={() => setCustomOpen(true)} -
frontend/src/pages/Dashboard/components/DashboardTopbar.jsx
rb3d5fed ra8381b1 10 10 <> 11 11 {/* Desktop */} 12 <div className="sticky top-0 z-30 hidden min-h-16 w-full items-center border-b border- base-300 bg-base-100 px-6lg:flex lg:px-8">12 <div className="sticky top-0 z-30 hidden min-h-16 w-full items-center border-b border-white/10 bg-base-100/70 px-6 backdrop-blur-xl lg:flex lg:px-8"> 13 13 <div className="mx-auto grid size-full grid-cols-1 items-center justify-end justify-items-end gap-4 lg:grid-cols-[1fr_max-content] lg:justify-between lg:justify-items-stretch"> 14 14 <div className="flex items-center gap-3"></div> … … 18 18 <button 19 19 type="button" 20 className="btn btn-ghost btn-sm "20 className="btn btn-ghost btn-sm hover:bg-white/10 transition" 21 21 onClick={onLogout} 22 22 aria-label="Log out" … … 30 30 31 31 {/* Mobile */} 32 <div className="fixed left-0 right-0 top-0 z-30 flex min-h-16 w-full items-center justify-between border-b border- base-300 bg-base-100px-6 lg:hidden">32 <div className="fixed left-0 right-0 top-0 z-30 flex min-h-16 w-full items-center justify-between border-b border-white/10 bg-base-100/70 px-4 backdrop-blur-xl sm:px-6 lg:hidden"> 33 33 <div className="flex items-center gap-4"> 34 34 <Link … … 44 44 <button 45 45 type="button" 46 className="btn btn-ghost btn-sm "46 className="btn btn-ghost btn-sm hover:bg-white/10 transition" 47 47 onClick={onLogout} 48 48 aria-label="Log out"
Note:
See TracChangeset
for help on using the changeset viewer.
