mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 13:41:22 +00:00
Usernav to be reused
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
}
|
||||
|
||||
.item {
|
||||
@apply mr-6 cursor-pointer;
|
||||
@apply mr-6 cursor-pointer relative;
|
||||
}
|
||||
|
@@ -16,8 +16,11 @@ const UserNav: FunctionComponent<Props> = ({ className }) => {
|
||||
return (
|
||||
<nav className={rootClassName}>
|
||||
<ul className={s.list}>
|
||||
<li className={s.item}>
|
||||
<Bag onClick={openSidebar} />
|
||||
<li className={s.item} onClick={openSidebar}>
|
||||
<Bag />
|
||||
<span className="bg-black h-4 w-4 absolute rounded-full inset-3 text-white flex items-center justify-center font-bold text-xs">
|
||||
1
|
||||
</span>
|
||||
</li>
|
||||
<li className={s.item}>
|
||||
<Heart />
|
||||
|
Reference in New Issue
Block a user