From fe87968de362fd2dcb52436ac67a7d145f385dce Mon Sep 17 00:00:00 2001 From: toririm Date: Sat, 2 Nov 2024 02:50:35 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pos/app/components/atoms/ReadyBell.tsx | 13 +++++++------ pos/app/routes/_header.master.tsx | 2 +- pos/app/routes/_header.serve.tsx | 3 ++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pos/app/components/atoms/ReadyBell.tsx b/pos/app/components/atoms/ReadyBell.tsx index 86e9cff..4c1dc9b 100644 --- a/pos/app/components/atoms/ReadyBell.tsx +++ b/pos/app/components/atoms/ReadyBell.tsx @@ -2,6 +2,7 @@ import type { WithId } from "common/lib/typeguard"; import type { OrderEntity } from "common/models/order"; import { HiBell, HiBellAlert } from "react-icons/hi2"; import { cn } from "~/lib/utils"; +import { Button } from "../ui/button"; type props = { order: WithId; @@ -11,24 +12,24 @@ type props = { export const ReadyBell = ({ order, changeReady }: props) => { const isReady = order.readyAt != null; return ( - + ); }; diff --git a/pos/app/routes/_header.master.tsx b/pos/app/routes/_header.master.tsx index 3266da2..ace8179 100644 --- a/pos/app/routes/_header.master.tsx +++ b/pos/app/routes/_header.master.tsx @@ -154,7 +154,7 @@ export default function FielsOfMaster() { {isReady && (
-

提供待ち

+

提供待ち

)} diff --git a/pos/app/routes/_header.serve.tsx b/pos/app/routes/_header.serve.tsx index 7749ee3..e7772f2 100644 --- a/pos/app/routes/_header.serve.tsx +++ b/pos/app/routes/_header.serve.tsx @@ -168,7 +168,7 @@ export default function Serve() { )} -
+
changeReady(order, ready)} @@ -185,6 +185,7 @@ export default function Serve() { }, }); }} + className="h-16 w-16 bg-green-700 text-lg hover:bg-green-500 " > 提供