dev-store #1

Merged
purp1e merged 16 commits from dev-store into master 2025-03-13 00:54:31 +08:00
Showing only changes of commit c4100120a4 - Show all commits

View File

@@ -57,15 +57,15 @@ const Avatar = () => {
const path = usePathname() const path = usePathname()
return ( return (
<div <button
onKeyUp={() => router.push("/users")} onClick={() => router.push("/users")}
className={cn( className={cn(
"w-12 h-12 bg-gray-700 rounded-full shadow-2xl cursor-pointer transition active:scale-95 shadow-purple-800", "w-12 h-12 bg-gray-700 rounded-full shadow-2xl cursor-pointer transition active:scale-95 shadow-purple-800",
path.startsWith("/users") && "shadow-sm", path.startsWith("/users") && "shadow-sm",
)} )}
> >
<img src="favicon.ico" alt="avatar" draggable={false} /> <img src="favicon.ico" alt="avatar" draggable={false} />
</div> </button>
) )
} }