From cd85169e55c9bd711d6f0113d70a8b24ece217d3 Mon Sep 17 00:00:00 2001 From: Vedmant Date: Wed, 28 Feb 2024 11:28:46 +0700 Subject: [PATCH] Delete account page --- .../js/components/pages/DeleteAccount.vue | 19 +++++++++++++++++++ .../assets/js/components/pages/Policy.vue | 1 - resources/assets/js/router.js | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 resources/assets/js/components/pages/DeleteAccount.vue diff --git a/resources/assets/js/components/pages/DeleteAccount.vue b/resources/assets/js/components/pages/DeleteAccount.vue new file mode 100644 index 0000000..065d748 --- /dev/null +++ b/resources/assets/js/components/pages/DeleteAccount.vue @@ -0,0 +1,19 @@ + + + diff --git a/resources/assets/js/components/pages/Policy.vue b/resources/assets/js/components/pages/Policy.vue index 2228618..fd45de3 100644 --- a/resources/assets/js/components/pages/Policy.vue +++ b/resources/assets/js/components/pages/Policy.vue @@ -2,7 +2,6 @@

Privacy Policy

-

Last updated: February 15, 2024

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and tells You about Your privacy rights and how the law protects You.

Interpretation and Definitions

Interpretation

diff --git a/resources/assets/js/router.js b/resources/assets/js/router.js index 8810136..5958e4d 100644 --- a/resources/assets/js/router.js +++ b/resources/assets/js/router.js @@ -27,11 +27,13 @@ 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' +import DeleteAccount from './components/pages/DeleteAccount' const routes = [ { path: '/', component: Front }, { path: '/policy', component: Policy }, + { path: '/delete-account', component: DeleteAccount }, { path: '/login', component: Login, meta: { guestOnly: true } }, { path: '/logout', component: Logout, meta: { requiresAuth: true } }, { path: '/register', component: Register, meta: { guestOnly: true } },