Skip to content

Commit

Permalink
Delete account page
Browse files Browse the repository at this point in the history
  • Loading branch information
vedmant committed Feb 28, 2024
1 parent 4009f05 commit cd85169
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions resources/assets/js/components/pages/DeleteAccount.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<div class="container">
<div class="tab-content translations-content-item en visible">
<h1>Delete Account</h1>
<p>This is an example application for education purposes, your account will be deleted automatically at 4am UTC.</p>
</div>
</div>
</template>

<script>
export default {
data () {
return {}
},
methods: {},
}
</script>
1 change: 0 additions & 1 deletion resources/assets/js/components/pages/Policy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div class="container">
<div class="tab-content translations-content-item en visible">
<h1>Privacy Policy</h1>
<p>Last updated: February 15, 2024</p>
<p>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.</p>
<h2>Interpretation and Definitions</h2>
<h3>Interpretation</h3>
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand Down

0 comments on commit cd85169

Please sign in to comment.