From 907ab41c62f218ed409eef6094516d08078a7ad1 Mon Sep 17 00:00:00 2001 From: Vedmant Date: Thu, 15 Feb 2024 11:12:49 +0700 Subject: [PATCH] Privacy policy --- .../assets/js/components/pages/Policy.vue | 185 ++++++++++++++++++ resources/assets/js/router.js | 3 +- 2 files changed, 187 insertions(+), 1 deletion(-) create mode 100644 resources/assets/js/components/pages/Policy.vue diff --git a/resources/assets/js/components/pages/Policy.vue b/resources/assets/js/components/pages/Policy.vue new file mode 100644 index 0000000..857322b --- /dev/null +++ b/resources/assets/js/components/pages/Policy.vue @@ -0,0 +1,185 @@ + + + diff --git a/resources/assets/js/router.js b/resources/assets/js/router.js index 0df0fd0..d52eed3 100644 --- a/resources/assets/js/router.js +++ b/resources/assets/js/router.js @@ -24,13 +24,14 @@ import UserEdit from './components/pages/admin/user/Edit' import AdminEntryList from './components/pages/admin/entry/List' import AdminEntryEdit from './components/pages/admin/entry/Edit' - import Error404 from './components/pages/404' import Profile from './components/pages/auth/Profile' +import Policy from '~/components/pages/Policy' const routes = [ { path: '/', component: Front }, + { path: '/policy', component: Policy }, { path: '/login', component: Login, meta: { guestOnly: true } }, { path: '/logout', component: Logout, meta: { requiresAuth: true } }, { path: '/register', component: Register, meta: { guestOnly: true } },