refactor: chnage cart count color
This commit is contained in:
@@ -117,7 +117,7 @@ const Navbar = () => {
|
|||||||
<SearchComponent isScrolled={isScrolled} />
|
<SearchComponent isScrolled={isScrolled} />
|
||||||
<Link href="/pages/shopping-cart" className="relative">
|
<Link href="/pages/shopping-cart" className="relative">
|
||||||
<ShoppingBag size={20} className="cursor-pointer" />
|
<ShoppingBag size={20} className="cursor-pointer" />
|
||||||
<span className="absolute -top-2 -right-2 bg-red font-bold text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">
|
<span className="absolute -top-2 -right-2 bg-red-600 font-bold text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">
|
||||||
{cartItemCount}
|
{cartItemCount}
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user