From 4a94f46c49bd3073789565259b5b63421b9ca995 Mon Sep 17 00:00:00 2001 From: DecentM Date: Fri, 29 Sep 2023 03:17:31 +0300 Subject: [PATCH] feat(frontend): create privacy page --- .../src/layouts/main/sidebar-menu.vue | 5 + apps/frontend/src/pages/privacy-page.vue | 104 ++++++++++++++++++ apps/frontend/src/router/routes.ts | 16 +++ 3 files changed, 125 insertions(+) create mode 100644 apps/frontend/src/pages/privacy-page.vue diff --git a/apps/frontend/src/layouts/main/sidebar-menu.vue b/apps/frontend/src/layouts/main/sidebar-menu.vue index c848387..b93223d 100644 --- a/apps/frontend/src/layouts/main/sidebar-menu.vue +++ b/apps/frontend/src/layouts/main/sidebar-menu.vue @@ -16,6 +16,11 @@ const items: Item[] = [ icon: 'sports_esports', label: 'Play', }, + { + to: '/privacy', + icon: 'shield', + label: 'Privacy', + }, ] diff --git a/apps/frontend/src/pages/privacy-page.vue b/apps/frontend/src/pages/privacy-page.vue new file mode 100644 index 0000000..457bf57 --- /dev/null +++ b/apps/frontend/src/pages/privacy-page.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/apps/frontend/src/router/routes.ts b/apps/frontend/src/router/routes.ts index bcd373c..28ba323 100644 --- a/apps/frontend/src/router/routes.ts +++ b/apps/frontend/src/router/routes.ts @@ -8,6 +8,18 @@ const routes: RouteRecordRaw[] = [ { path: '', component: () => import('pages/index-page.vue'), + meta: { + title: 'Welcome', + icon: 'home', + }, + }, + { + path: 'privacy', + component: () => import('pages/privacy-page.vue'), + meta: { + title: 'Privacy', + icon: 'shield', + }, }, { path: 'play', @@ -28,6 +40,10 @@ const routes: RouteRecordRaw[] = [ { path: 'pen-pal/:state?', component: () => import('pages/play/pen-pal-game.vue'), + meta: { + title: 'Pen-pal mode', + icon: 'settings', + }, }, ], },