feat: start of "My Account" page, need API help
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
JustTemmie 2025-06-01 07:15:20 +02:00
parent 705b37fa06
commit 39fb0a9eab
9 changed files with 156 additions and 47 deletions

View file

@ -7,7 +7,6 @@
</template>
<script lang="ts" setup>
console.log("Loading appearance.vue...")
</script>
<style scoped>

View file

@ -0,0 +1,12 @@
<template>
<div>
<h1>Keybinds (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View file

@ -0,0 +1,12 @@
<template>
<div>
<h1>Language (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View file

@ -0,0 +1,12 @@
<template>
<div>
<h1>Notifications (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View file

@ -1,11 +1,35 @@
<template>
<div>
<h1>hi!!</h1>
<h1>My Account</h1>
<div id="profile-container">
</div>
<h2>Password (and eventually authenticator)</h2>
<Button text="Reset Password" :callback=resetPassword></Button>
<h2>Account Deletion</h2>
<ButtonScary text="Delete Account" :callback=deleteAccount></ButtonScary>
</div>
</template>
<script lang="ts" setup>
console.log("Loading account.vue...")
import Button from '~/components/buttons/Button.vue';
import ButtonScary from '~/components/buttons/ButtonScary.vue';
const { user } = useAuth();
const resetPassword = async () => {
alert("TBD")
// await fetchWithApi(`/auth/reset-password`);
}
const deleteAccount = () => {
alert("TBD")
}
</script>
<style scoped>

View file

@ -0,0 +1,12 @@
<template>
<div>
<h1>Connections (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View file

@ -0,0 +1,12 @@
<template>
<div>
<h1>Devices (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View file

@ -0,0 +1,13 @@
<template>
<div>
<h1>Privacy (TBA)</h1>
</div>
</template>
<script lang="ts" setup>
import Button from '~/components/buttons/Button.vue';
</script>
<style scoped>
</style>