diff --git a/src/App.vue b/src/App.vue index f85e27f..73844e7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,84 +1,10 @@ - - - - - - Home - About - Login - - - - - + diff --git a/src/assets/main.css b/src/assets/main.css index 36fb845..40a5eeb 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -20,16 +20,3 @@ a, background-color: hsla(160, 100%, 37%, 0.2); } } - -@media (min-width: 1024px) { - body { - display: flex; - place-items: center; - } - - #app { - display: grid; - grid-template-columns: 1fr 1fr; - padding: 0 2rem; - } -} diff --git a/src/router/index.ts b/src/router/index.ts index 43078b6..40d3c16 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,8 @@ import { createRouter, createWebHistory } from 'vue-router' import HomeView from '../views/HomeView.vue' import LoginView from '../views/LoginView.vue' +import MainMenuView from '../views/MainMenuView.vue' +import createGameView from '../views/CreateGame.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -23,6 +25,17 @@ const router = createRouter({ // which is lazy-loaded when the route is visited. component: () => import('../views/AboutView.vue'), }, + { + path: '/mainmenu', + name: 'mainmenu', + component: MainMenuView + }, + { + path: '/create', + name: 'create-Game', + component: createGameView + }, + ], }) diff --git a/src/views/CreateGame.vue b/src/views/CreateGame.vue new file mode 100644 index 0000000..bcfde33 --- /dev/null +++ b/src/views/CreateGame.vue @@ -0,0 +1,131 @@ + + + + + + + + + KnockOutWhist + + + Are you ready to play? Please select a lobbyname of your choice, the amount of players you want + to play with and you are ready to go! + + + + + + + + + + + + + + + Players: {{ playerAmount }} + + + + + 2 + 3 + 4 + 5 + 6 + 7 + + + + + + + + + + + + + +
+ Are you ready to play? Please select a lobbyname of your choice, the amount of players you want + to play with and you are ready to go! +