diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-26 17:02:02 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-26 17:02:02 +0700 |
| commit | 902e5dabbb1ab0612764983c094af398e5f636ee (patch) | |
| tree | b1b33fed082204be057c50053aee15eede6cce25 /src/components | |
| parent | e340f5c4f4c47cde90e7676fcf71b55ef50e7c23 (diff) | |
Invoice and invoice detail
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/elements/Disclosure.js | 4 | ||||
| -rw-r--r-- | src/components/layouts/AppBar.js | 5 | ||||
| -rw-r--r-- | src/components/transactions/TransactionDetail.js | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/components/elements/Disclosure.js b/src/components/elements/Disclosure.js index 584fa144..1f334be3 100644 --- a/src/components/elements/Disclosure.js +++ b/src/components/elements/Disclosure.js @@ -4,9 +4,9 @@ const Disclosure = ({ label, active, onClick }) => ( <div className={`flex justify-between p-4 ` + (active && 'bg-yellow_r-2')} onClick={onClick}> <p className="font-medium leading-normal">{ label }</p> { onClick && ( active ? ( - <ChevronUpIcon className="w-5 h-5" /> + <ChevronUpIcon className="w-5 h-5 stroke-2" /> ) : ( - <ChevronDownIcon className="w-5 h-5" /> + <ChevronDownIcon className="w-5 h-5 stroke-2" /> ) ) } </div> ); diff --git a/src/components/layouts/AppBar.js b/src/components/layouts/AppBar.js index f9dddf9d..b4c7703c 100644 --- a/src/components/layouts/AppBar.js +++ b/src/components/layouts/AppBar.js @@ -1,4 +1,4 @@ -import { ChevronLeftIcon, HeartIcon, HomeIcon } from "@heroicons/react/24/outline"; +import { Bars3Icon, ChevronLeftIcon, HeartIcon, HomeIcon } from "@heroicons/react/24/outline"; import Head from "next/head"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; @@ -49,6 +49,9 @@ const AppBar = ({ title }) => { <Link href="/"> <HomeIcon className="w-6 stroke-2 text-gray_r-12"/> </Link> + <Link href="/my/menu"> + <Bars3Icon className="w-6 stroke-2 text-gray_r-12"/> + </Link> </div> {/* --- End Icons */} </div> diff --git a/src/components/transactions/TransactionDetail.js b/src/components/transactions/TransactionDetail.js index 7659a321..295a4f9f 100644 --- a/src/components/transactions/TransactionDetail.js +++ b/src/components/transactions/TransactionDetail.js @@ -33,7 +33,7 @@ const TransactionDetailAddress = ({ transaction }) => { }; return ( - <div className="m-4 rounded border border-gray_r-6 divide-y divide-gray_r-6"> + <div className="m-4 rounded-md border border-gray_r-6 divide-y divide-gray_r-6"> <Disclosure label="Detail Pelanggan" active={activeSection.purchase} |
