diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 95f35dd..a5cfd9f 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -19,11 +19,71 @@ - - - Set Username - - + + + + + + Set Username + + + + + + User Settings + + + + + + + + + + + + + + + Create Select Game Type + + + + + + Create Local Game + + + + + + Create Online Game + + + + + + Game + + + + + + + + + CreateLocalGame + + + diff --git a/frontend/src/pages/game/createOnlineGamePage.vue b/frontend/src/pages/game/createOnlineGamePage.vue new file mode 100644 index 0000000..f44d972 --- /dev/null +++ b/frontend/src/pages/game/createOnlineGamePage.vue @@ -0,0 +1,7 @@ + + + diff --git a/frontend/src/pages/game/gameModeSelectPage.vue b/frontend/src/pages/game/gameModeSelectPage.vue new file mode 100644 index 0000000..0bcc2c6 --- /dev/null +++ b/frontend/src/pages/game/gameModeSelectPage.vue @@ -0,0 +1,92 @@ + + + diff --git a/frontend/src/pages/game/gamePage.vue b/frontend/src/pages/game/gamePage.vue new file mode 100644 index 0000000..44e721a --- /dev/null +++ b/frontend/src/pages/game/gamePage.vue @@ -0,0 +1,7 @@ + + + diff --git a/frontend/src/pages/user/userSettingsPage.vue b/frontend/src/pages/user/userSettingsPage.vue new file mode 100644 index 0000000..94c8caa --- /dev/null +++ b/frontend/src/pages/user/userSettingsPage.vue @@ -0,0 +1,7 @@ + + + diff --git a/frontend/src/pages/user/usernamePage.vue b/frontend/src/pages/user/usernamePage.vue index 1099a7f..f203d1a 100644 --- a/frontend/src/pages/user/usernamePage.vue +++ b/frontend/src/pages/user/usernamePage.vue @@ -41,9 +41,11 @@ diff --git a/frontend/src/router/routes.js b/frontend/src/router/routes.js index f83da56..338eac0 100644 --- a/frontend/src/router/routes.js +++ b/frontend/src/router/routes.js @@ -4,11 +4,17 @@ const routes = [ component: () => import('layouts/MainLayout.vue'), children: [ { path: '', component: () => import('pages/IndexPage.vue') }, - { path: 'test_DartPicker', component: () => import('src/pages/test/testDartPickerPage.vue') }, - { path: 'test_NumbersPage', component: () => import('src/pages/test/testNumbersPage.vue') }, - { path: 'test_WebSpeechApi', component: () => import('src/pages/test/testWebSpeechApi.vue') }, + { path: 'test_DartPicker', component: () => import('pages/test/testDartPickerPage.vue') }, + { path: 'test_NumbersPage', component: () => import('pages/test/testNumbersPage.vue') }, + { path: 'test_WebSpeechApi', component: () => import('pages/test/testWebSpeechApi.vue') }, - { path: 'user/username', component: () => import('src/pages/user/usernamePage.vue') }, + { path: 'user/username', component: () => import('pages/user/usernamePage.vue') }, + { path: '/user/settings', component: () => import('pages/user/userSettingsPage.vue') }, + + { path: 'game', component: () => import('pages/game/gamePage.vue') }, + { path: 'game/select', component: () => import('pages/game/gameModeSelectPage.vue') }, + { path: 'game/local/create', component: () => import('pages/game/createLocalGamePage.vue') }, + { path: 'game/online/create', component: () => import('pages/game/createOnlineGamePage.vue') }, { path: 'error', component: () => import('pages/ErrorPage.vue') } ],