diff --git a/bun.lockb b/bun.lockb index 8fc2b1a..e967536 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/preferences/profile/editor.vue b/components/preferences/profile/editor.vue new file mode 100644 index 0000000..cc20df4 --- /dev/null +++ b/components/preferences/profile/editor.vue @@ -0,0 +1,322 @@ + + + + + + + Banner + + + + + + Recommended size: over 1500x500px + + + + + + + + + Avatar + + + + + + Recommended size: 400x400px + + + + + + + + + Display Name + + + + + + Custom emojis can be used here. + + + + + + + + + Username + + + + + + Changing this will break all links to your profile. + + + + + + + + + Bio + + + + + + Markdown and custom emojis are supported. + + + + + + + + + Custom Fields + + + + + + + + { + handleChange([...value.slice(0, index), { name: e, value: field.value }, ...value.slice(index + 1)]); + }" /> + { + handleChange([...value.slice(0, index), { name: field.name, value: e }, ...value.slice(index + 1)]); + }" /> + + + Add Field + + + + + + + + + + + + Mark account as bot + + + Is this account sending automated messages? + + + + + + + + + + + + + + Enable follow requests + + + Will require approval for new followers. + + + + + + + + + + + + + + Allow account discovery + + + Allow your account to be found in search results. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/sidebars/left-sidebar.vue b/components/sidebars/left-sidebar.vue index 5e02672..9ccdf31 100644 --- a/components/sidebars/left-sidebar.vue +++ b/components/sidebars/left-sidebar.vue @@ -133,6 +133,10 @@ const data = { url: "/preferences", icon: Settings2, items: [ + { + title: "Account", + url: "/preferences/account", + }, { title: "Appearance", url: "/preferences/appearance", diff --git a/components/ui/form/FormItem.vue b/components/ui/form/FormItem.vue index da875ca..75f7dd5 100644 --- a/components/ui/form/FormItem.vue +++ b/components/ui/form/FormItem.vue @@ -1,19 +1,26 @@ - - - + + + diff --git a/package.json b/package.json index 24accec..a7b0dcb 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@nuxtjs/color-mode": "3.5.2", "@tailwindcss/typography": "^0.5.15", "@vee-validate/zod": "^4.14.7", - "@versia/client": "0.1.3", + "@versia/client": "0.1.4", "@vite-pwa/nuxt": "^0.10.6", "@vueuse/core": "^12.0.0", "@vueuse/nuxt": "^12.0.0", diff --git a/pages/preferences/account.vue b/pages/preferences/account.vue new file mode 100644 index 0000000..644c1a6 --- /dev/null +++ b/pages/preferences/account.vue @@ -0,0 +1,36 @@ + + + + + Account + + Save + + + + + + + + \ No newline at end of file