summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-01-30 09:36:40 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-01-30 09:36:40 +0700
commitd194dcc23c19a4cf31863b32770f8df77e1f675a (patch)
tree2a2c30033d4566c2294e8d10601baecfc53c6cf2 /src/components
parent9e222e923028185f5a8d74768b04f99d396c0583 (diff)
Add or remove wishlist
Diffstat (limited to 'src/components')
-rw-r--r--src/components/layouts/Header.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/layouts/Header.js b/src/components/layouts/Header.js
index 5cd0a1bc..4741905f 100644
--- a/src/components/layouts/Header.js
+++ b/src/components/layouts/Header.js
@@ -8,7 +8,8 @@ import {
Bars3Icon,
ShoppingCartIcon,
ChevronRightIcon,
- Cog6ToothIcon
+ Cog6ToothIcon,
+ HeartIcon
} from "@heroicons/react/24/outline";
// Helpers
@@ -117,6 +118,9 @@ export default function Header({ title }) {
<Image src={Logo} alt="Logo Indoteknik" width={120} height={40} />
</Link>
<div className="flex gap-x-4">
+ <Link href="/my/wishlist">
+ <HeartIcon className="w-6 text-gray_r-12" />
+ </Link>
<Link href="/shop/cart">
<ShoppingCartIcon className="w-6 text-gray_r-12" />
</Link>