Usernav to be reused

This commit is contained in:
Belen Curcio
2020-10-01 12:23:01 -03:00
parent b447bbc322
commit ba4b3b765c
7 changed files with 58 additions and 7 deletions

View File

@@ -6,5 +6,5 @@
}
.item {
@apply mr-6 cursor-pointer;
@apply mr-6 cursor-pointer relative;
}

View File

@@ -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 />