summaryrefslogtreecommitdiff
path: root/src/components/header.js
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-11-01 10:40:36 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-11-01 10:40:36 +0700
commit410b363883cc8b441bc2a858825ade07d72a19ca (patch)
treec39d9fbc13381e5ac5b67f37b5d8aa6a194c745c /src/components/header.js
parent83354e3e9af77447a399b1f47fa22c7fccbbbe72 (diff)
Add progress bar and performance optimization
Diffstat (limited to 'src/components/header.js')
-rw-r--r--src/components/header.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/header.js b/src/components/header.js
index baebbd3a..3d5d0f84 100644
--- a/src/components/header.js
+++ b/src/components/header.js
@@ -3,6 +3,7 @@ import Link from "next/link";
import ShoppingCartIcon from "../icons/shopping-cart.svg";
import SearchIcon from "../icons/search.svg";
import MenuIcon from "../icons/menu.svg";
+import ChevronRightIcon from "../icons/chevron-right.svg";
import { useState } from "react";
@@ -23,19 +24,19 @@ export default function Header() {
<Link className="flex w-full font-normal text-gray-800" href="/shop/brands">
<span>Brand</span>
<div className="ml-auto">
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" className="stroke-gray-700 feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
+ <ChevronRightIcon className="stroke-gray-700" />
</div>
</Link>
<Link className="flex w-full font-normal text-gray-800" href="/blog">
<span>Blog</span>
<div className="ml-auto">
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" className="stroke-gray-700 feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
+ <ChevronRightIcon className="stroke-gray-700" />
</div>
</Link>
<button className="flex w-full font-normal text-gray-800" id="open_category_parent_menu">
<span>Kategori</span>
<div className="ml-auto">
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" className="stroke-gray-700 feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
+ <ChevronRightIcon className="stroke-gray-700" />
</div>
</button>
</div>