diff --git a/GUI/src/Home.vue b/GUI/src/Home.vue index bb87204..3eb1285 100644 --- a/GUI/src/Home.vue +++ b/GUI/src/Home.vue @@ -6,15 +6,11 @@ let buttons = [ color: "red", componentName: "LocalMode" }, - { - name: "Lokal gegen Bot", - icon: "mdi-robot-angry-outline", - color: "green", - }, { name: "Online Multiplayer", icon: "mdi-web", color: "blue", + componentName: "OnlineMode" }, ] diff --git a/GUI/src/Layout.vue b/GUI/src/Layout.vue index edafb16..6847395 100644 --- a/GUI/src/Layout.vue +++ b/GUI/src/Layout.vue @@ -7,10 +7,10 @@ - 4-Gewinnt @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/GUI/src/app.css b/GUI/src/app.css new file mode 100644 index 0000000..e7ec6c4 --- /dev/null +++ b/GUI/src/app.css @@ -0,0 +1,17 @@ +#game { + width: 100%; + min-height: calc(100dvh - var(--v-layout-top)); + display: flex; + justify-content: center; + align-items: center; + padding: 16px; + box-sizing: border-box; +} + +.game-content { + display: flex; + flex-direction: column; + align-items: center; + gap: 16px; + width: 100%; +} \ No newline at end of file diff --git a/GUI/src/components/GameEndedMenu.vue b/GUI/src/components/GameEndedMenu.vue index 6c13690..5d68136 100644 --- a/GUI/src/components/GameEndedMenu.vue +++ b/GUI/src/components/GameEndedMenu.vue @@ -21,7 +21,7 @@ const message = computed(() => {