From df5abfc272a151c51f0e5e82214cf7aff8cfa880 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 19 Jul 2024 19:05:55 +0900 Subject: initial commit --- frontend/src/watch/apps/Connecting.jsx | 7 +++++++ frontend/src/watch/apps/Failed.jsx | 7 +++++++ frontend/src/watch/apps/Gaming.jsx | 29 +++++++++++++++++++++++++++++ frontend/src/watch/apps/Waiting.jsx | 7 +++++++ 4 files changed, 50 insertions(+) create mode 100644 frontend/src/watch/apps/Connecting.jsx create mode 100644 frontend/src/watch/apps/Failed.jsx create mode 100644 frontend/src/watch/apps/Gaming.jsx create mode 100644 frontend/src/watch/apps/Waiting.jsx (limited to 'frontend/src/watch/apps') diff --git a/frontend/src/watch/apps/Connecting.jsx b/frontend/src/watch/apps/Connecting.jsx new file mode 100644 index 0000000..464af23 --- /dev/null +++ b/frontend/src/watch/apps/Connecting.jsx @@ -0,0 +1,7 @@ +export default () => { + return ( +
+ 接続中です...... +
+ ); +} diff --git a/frontend/src/watch/apps/Failed.jsx b/frontend/src/watch/apps/Failed.jsx new file mode 100644 index 0000000..f96e999 --- /dev/null +++ b/frontend/src/watch/apps/Failed.jsx @@ -0,0 +1,7 @@ +export default () => { + return ( +
+ エラー +
+ ); +} diff --git a/frontend/src/watch/apps/Gaming.jsx b/frontend/src/watch/apps/Gaming.jsx new file mode 100644 index 0000000..c844c46 --- /dev/null +++ b/frontend/src/watch/apps/Gaming.jsx @@ -0,0 +1,29 @@ +export default ({ problem, scoreA, codeA, scoreB, codeB }) => { + return ( + <> +
+
+ {problem} +
+
+
+
+ {scoreA} +
+
+
{codeA}
+
+
+
+
+ {scoreB} +
+
+
{codeB}
+
+
+
+
+ + ); +}; diff --git a/frontend/src/watch/apps/Waiting.jsx b/frontend/src/watch/apps/Waiting.jsx new file mode 100644 index 0000000..27fdd76 --- /dev/null +++ b/frontend/src/watch/apps/Waiting.jsx @@ -0,0 +1,7 @@ +export default () => { + return ( +
+ 対戦相手が現れるのを待っています...... +
+ ); +} -- cgit v1.2.3-70-g09d2