diff --git a/apps/client/public/title.png b/apps/client/public/title.png new file mode 100644 index 0000000..19ed764 --- /dev/null +++ b/apps/client/public/title.png Binary files differ diff --git a/apps/client/src/scenes/title/TitleScene.tsx b/apps/client/src/scenes/title/TitleScene.tsx index 0dc3617..6e1d928 100644 --- a/apps/client/src/scenes/title/TitleScene.tsx +++ b/apps/client/src/scenes/title/TitleScene.tsx @@ -29,7 +29,7 @@ return ( <> - {/* 🌟 追加: ロビー画面と同じ、横画面専用の警告と全体設定 */} + {/* 🌟 ロビー画面と同じ、横画面専用の警告と全体設定 */} - {/* 🌟 縦画面のときに表示される警告画面 */} + {/* 縦画面時のブロック画面 */}
-
🔄
-

- このゲームは横画面専用です。 -
- スマホを横向きにしてください。 -

+

画面を横向きにしてください

+

Please rotate your device to landscape mode.

+ {/* 🌟 画面全体を覆う背景コンテナ */}
-

- Pixel Paint War -

- - {/* 🌟 固定の300pxから、幅100%・最大幅350pxのレスポンシブに変更 */} + {/* 🌟 入力フォーム&ボタンのコンテナ */}
- setPlayerName(e.target.value)} - style={{ - padding: "12px", - fontSize: "clamp(1rem, 3vw, 1.2rem)", - borderRadius: "5px", - border: "none", - width: "100%", - }} - /> - setRoomIdInput(e.target.value)} - style={{ - padding: "12px", - fontSize: "clamp(1rem, 3vw, 1.2rem)", - borderRadius: "5px", - border: "none", - width: "100%", - }} - /> -
- - {/* 🌟 エラーメッセージの表示(もしあれば) */} - {joinErrorMessage && (
- {joinErrorMessage} + setPlayerName(e.target.value)} + style={{ + padding: "12px", + fontSize: "clamp(1rem, 3vw, 1.2rem)", + borderRadius: "5px", + border: "none", + width: "100%", + fontFamily: "monospace", + }} + /> + setRoomIdInput(e.target.value)} + style={{ + padding: "12px", + fontSize: "clamp(1rem, 3vw, 1.2rem)", + borderRadius: "5px", + border: "none", + width: "100%", + fontFamily: "monospace", + }} + />
- )} - + {/* エラーメッセージ */} + {joinErrorMessage && ( +
+ {joinErrorMessage} +
+ )} + + {/* 参加ボタン */} + +
);