From 597abd99298a34b4fafaa852aca821b3a9034e52 Mon Sep 17 00:00:00 2001 From: KaichiManabe <154493010+KaichiManabe@users.noreply.github.com> Date: Sun, 19 Jan 2025 10:49:44 +0900 Subject: [PATCH 1/9] =?UTF-8?q?Header=E3=81=A8Bottom=E3=81=AE=E5=A4=A7?= =?UTF-8?q?=E3=81=8D=E3=81=95=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/components/BottomBar.tsx | 10 +++++----- web/components/Header.tsx | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/components/BottomBar.tsx b/web/components/BottomBar.tsx index 00e55bb1..ff571137 100644 --- a/web/components/BottomBar.tsx +++ b/web/components/BottomBar.tsx @@ -37,27 +37,27 @@ export default function BottomBar(props: Props) { } + iconComponent={} /> } + iconComponent={} /> } + iconComponent={} /> } + iconComponent={} /> } + iconComponent={} /> ); diff --git a/web/components/Header.tsx b/web/components/Header.tsx index 43715ac8..94ee4a15 100644 --- a/web/components/Header.tsx +++ b/web/components/Header.tsx @@ -12,15 +12,15 @@ export default function Header(props: Props) {
- + -

+

{title}

- +
From e46198a8b11a1a62128dd2a73fcac3d34415bff6 Mon Sep 17 00:00:00 2001 From: KaichiManabe <154493010+KaichiManabe@users.noreply.github.com> Date: Sun, 19 Jan 2025 11:40:55 +0900 Subject: [PATCH 2/9] =?UTF-8?q?=E3=83=AC=E3=82=A4=E3=82=A2=E3=82=A6?= =?UTF-8?q?=E3=83=88=E3=82=92=E5=BE=AE=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/friends/page.tsx | 6 ++---- web/app/home/layout.tsx | 2 +- web/app/home/page.tsx | 2 +- web/components/match/matching.tsx | 4 ++-- web/components/match/myRequests.tsx | 4 ++-- web/components/match/othersRequests.tsx | 4 ++-- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/web/app/friends/page.tsx b/web/app/friends/page.tsx index 412fa5c4..9374e211 100644 --- a/web/app/friends/page.tsx +++ b/web/app/friends/page.tsx @@ -18,7 +18,7 @@ export default function Friends() {
-
- {/* コンテンツ部分 */} -
+
{activeTab === "matching" ? : }
diff --git a/web/app/home/layout.tsx b/web/app/home/layout.tsx index 792f2828..6b41946a 100644 --- a/web/app/home/layout.tsx +++ b/web/app/home/layout.tsx @@ -10,7 +10,7 @@ export default function HomePageLayout({ return (
-
{children}
+
{children}
); diff --git a/web/app/home/page.tsx b/web/app/home/page.tsx index b2d4a8eb..a8ca5867 100644 --- a/web/app/home/page.tsx +++ b/web/app/home/page.tsx @@ -88,7 +88,7 @@ export default function Home() { return ( -
+
{displayedUser && ( <>
diff --git a/web/components/match/matching.tsx b/web/components/match/matching.tsx index c15962f3..63454f92 100644 --- a/web/components/match/matching.tsx +++ b/web/components/match/matching.tsx @@ -13,9 +13,9 @@ export default function Matchings() { const { openModal } = useModal(); return ( -
+
{data && data.length === 0 && ( -

+

誰ともマッチングしていません。 リクエストを送りましょう!

)} diff --git a/web/components/match/myRequests.tsx b/web/components/match/myRequests.tsx index cc4e72c9..739b3d8a 100644 --- a/web/components/match/myRequests.tsx +++ b/web/components/match/myRequests.tsx @@ -10,8 +10,8 @@ export default function MyReq() { const { openModal } = useModal(); return ( -
-

+

+

{state.data && state.data.length > 0 ? "以下のリクエストを送信しました!" : "リクエストを送信しましょう!"} diff --git a/web/components/match/othersRequests.tsx b/web/components/match/othersRequests.tsx index a3c92563..a97bb040 100644 --- a/web/components/match/othersRequests.tsx +++ b/web/components/match/othersRequests.tsx @@ -14,8 +14,8 @@ export default function OthersReq() { const { openModal } = useModal(); return ( -

-

+

+

{data && data.length > 0 ? "以下のリクエストを受け取りました!" : "リクエストは受け取っていません。"} From 59987573a8c8d7934395c1f47d05faaa79b2eb0c Mon Sep 17 00:00:00 2001 From: KaichiManabe <154493010+KaichiManabe@users.noreply.github.com> Date: Sun, 19 Jan 2025 11:59:06 +0900 Subject: [PATCH 3/9] =?UTF-8?q?humanlistItem=E3=82=92=E7=B7=A8=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/friends/page.tsx | 2 +- web/components/chat/RoomWindow.tsx | 13 +++---- web/components/human/humanListItem.tsx | 50 ++++++++++++-------------- 3 files changed, 29 insertions(+), 36 deletions(-) diff --git a/web/app/friends/page.tsx b/web/app/friends/page.tsx index 9374e211..35329816 100644 --- a/web/app/friends/page.tsx +++ b/web/app/friends/page.tsx @@ -23,7 +23,7 @@ export default function Friends() { }`} onClick={() => setActiveTab("matching")} > - マッチ中 + マッチ {activeTab === "matching" && ( )} diff --git a/web/components/chat/RoomWindow.tsx b/web/components/chat/RoomWindow.tsx index 8a534d29..551badf5 100644 --- a/web/components/chat/RoomWindow.tsx +++ b/web/components/chat/RoomWindow.tsx @@ -205,10 +205,7 @@ export function RoomWindow(props: Props) { 保存 {/* biome-ignore lint/a11y/useButtonType: */} -

@@ -293,18 +290,18 @@ const FloatingMessage = ({

{message}

{showButtons && (
- {/* biome-ignore lint/a11y/useButtonType: */} - {/* biome-ignore lint/a11y/useButtonType: */} -
+
+ {name} + {rollUpName && ( + + {lastMessage} + + )} + {statusMessage && ( + {statusMessage} + )} +
+
{unreadCount ? ( {unreadCount} ) : undefined} {onAccept && ( - // biome-ignore lint/a11y/useButtonType: )} {onReject && ( - // biome-ignore lint/a11y/useButtonType: )} {onCancel && ( - // biome-ignore lint/a11y/useButtonType: )} {onRequest && ( - // biome-ignore lint/a11y/useButtonType: