From f99e0aba70efad0deb907d8e27f09fc9f527c8a4 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 17 Feb 2023 17:07:50 +0700 Subject: Refactor --- src/pages/my/menu.js | 82 ---------------------------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 src/pages/my/menu.js (limited to 'src/pages/my/menu.js') diff --git a/src/pages/my/menu.js b/src/pages/my/menu.js deleted file mode 100644 index ae6c2af8..00000000 --- a/src/pages/my/menu.js +++ /dev/null @@ -1,82 +0,0 @@ - -import AppBar from "@/components/layouts/AppBar"; -import Layout from "@/components/layouts/Layout"; -import Link from "@/components/elements/Link"; -import { useAuth } from "@/core/utils/auth"; -import { - ArrowRightOnRectangleIcon, - ChatBubbleLeftRightIcon, - ChevronRightIcon, - MapIcon, - PaperClipIcon, - PencilSquareIcon, - QuestionMarkCircleIcon, - ReceiptPercentIcon, - UserIcon, - HeartIcon -} from "@heroicons/react/24/outline"; -import WithAuth from "@/components/auth/WithAuth"; - -const Menu = ({ icon, name, url }) => { - return ( - - - { icon } - { name } - - - - ); -}; - -export default function MyMenu() { - const [auth] = useAuth(); - - return ( - - - - -
-
-
- -
-
-

{ auth?.name }

- { auth?.company ? ( -
Akun Bisnis
- ) : ( -
Akun Individu
- ) } -
-
- - - -
- -
-

Aktivitas Pembelian

-
- } name="Daftar Transaksi" url="/my/transactions" /> - } name="Invoice & Faktur Pajak" url="/my/invoices" /> - } name="Wishlist" url="/my/wishlist" /> -
- -

Pusat Bantuan

-
- } name="Layanan Pelanggan" url="/" /> - } name="F.A.Q" url="/faqs" /> -
- -

Pengaturan Akun

-
- } name="Daftar Alamat" url="/my/address" /> - } name="Keluar Akun" url="/logout" /> -
-
-
-
- ); -} \ No newline at end of file -- cgit v1.2.3