{{ session.name }}
+ID: {{ session._id }}
+Players: {{ session.players.length }}
++ Seed: {{ session.seed }} + +
+Status: {{ session.status }}
+ + +
Running: {{ sessionState?.sessionInProgress }} Seed: {{ sessionState?.seed }}
@@ -99,56 +101,15 @@ function copySeed() {
* {
box-sizing: border-box;
}
-
-.action-select {
- display: flex;
- gap: 16px;
- align-items: start;
- justify-items: center;
-}
-
.game-container {
display: flex;
align-items: start;
justify-content: center;
}
-
-.control {
- padding: 8px;
- margin-right: 4px;
-}
-
-textarea {
- width: 100%;
- height: 110px;
- resize: none;
-}
-#response,
-#status {
- height: 180px;
-}
-
-.tiles-container {
- display: flex;
- gap: 4px;
- flex-flow: row wrap;
- align-content: flex-start;
-}
-
-.board-container {
+.info {
position: absolute;
- height: 600px;
- padding: 10px;
- width: calc(50% - 50px);
- background-color: var(--pico-form-element-background-color);
-}
-
-.hand-container {
- position: fixed;
- bottom: 0;
- height: 200px;
- padding: 10px;
- width: calc(50% - 50px);
- background-color: var(--pico-form-element-background-color);
+ top: 0;
+ left: 0;
+ z-index: 20;
}
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index f34b9cf..69ca228 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -8,8 +8,9 @@ import type { GameService } from '@/services/GameService'
import type { MatchSessionDto } from '@/common/interfaces'
import { useEventBusStore } from '@/stores/eventBus'
import { useAuthStore } from '@/stores/auth'
+import { copyToclipboard } from '@/common/helpers'
-let seed = ref('')
+let seed = ref
No sessions available
{{ session.name }}
-{{ session }}
- +{{ session.name }}
+ID: {{ session._id }}
+Players: {{ session.players.length }}
++ Seed: {{ session.seed }} + +
+Status: {{ session.status }}
+ + +