From e775d4cfc934046e7acc9fc57c43fad4f3619109 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 23 Dec 2022 17:37:08 +0700 Subject: Change menu icon --- src/pages/my/menu.js | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/pages/my/menu.js b/src/pages/my/menu.js index 89f9dff7..d86febf9 100644 --- a/src/pages/my/menu.js +++ b/src/pages/my/menu.js @@ -4,28 +4,38 @@ import Layout from "../../components/Layout"; import Link from "../../components/Link"; import { useAuth } from "../../helpers/auth"; import { + ArrowRightOnRectangleIcon, + ChatBubbleLeftRightIcon, ChevronRightIcon, + ClipboardDocumentIcon, + ClipboardIcon, + ClockIcon, + DocumentArrowDownIcon, + MapIcon, + PaperClipIcon, PencilSquareIcon, + QuestionMarkCircleIcon, + ReceiptPercentIcon, UserIcon } from "@heroicons/react/24/outline"; const activityMenus = [ - { name: 'Daftar Transaksi', url: '/my/profile' }, - { name: 'Penawaran Harga', url: '/my/profile' }, - { name: 'Purchase Order', url: '/my/profile' }, - { name: 'Faktur Penjualan', url: '/my/profile' }, - { name: 'Faktur Pajak', url: '/my/profile' }, - { name: 'Surat Jalan', url: '/my/profile' } + { icon: (), name: 'Daftar Transaksi', url: '/my/profile' }, + { icon: (), name: 'Penawaran Harga', url: '/my/profile' }, + { icon: (), name: 'Purchase Order', url: '/my/profile' }, + { icon: (), name: 'Faktur Penjualan', url: '/my/profile' }, + { icon: (), name: 'Faktur Pajak', url: '/my/profile' }, + { icon: (), name: 'Surat Jalan', url: '/my/profile' } ]; const serviceMenus = [ - { name: 'Customer Support', url: '/my/profile' }, - { name: 'F.A.Q', url: '/my/profile' }, + { icon: (), name: 'Customer Support', url: '/my/profile' }, + { icon: (), name: 'F.A.Q', url: '/my/profile' }, ]; const settingMenus = [ - { name: 'Daftar Alamat', url: '/my/profile' }, - { name: 'Keluar Akun', url: '/my/profile' }, + { icon: (),name: 'Daftar Alamat', url: '/my/profile' }, + { icon: (),name: 'Keluar Akun', url: '/my/profile' }, ]; export default function MyMenu() { @@ -56,7 +66,11 @@ export default function MyMenu() {
{ activityMenus.map((menu, index) => ( - { menu.name } + + { menu.icon } + { menu.name } + + )) }
@@ -65,7 +79,11 @@ export default function MyMenu() {
{ serviceMenus.map((menu, index) => ( - { menu.name } + + { menu.icon } + { menu.name } + + )) }
@@ -74,7 +92,11 @@ export default function MyMenu() {
{ settingMenus.map((menu, index) => ( - { menu.name } + + { menu.icon } + { menu.name } + + )) }
-- cgit v1.2.3