Better metadata editing division #79 (#82)

* feat: new dropdown-based editor switching

* feat: tab based switching

* feat: add icon

* fix: lint

* chore: i18n translations

oh boy was this a 'chore'
This commit is contained in:
DecDuck
2025-06-05 14:53:19 +10:00
committed by GitHub
parent 681efe95af
commit 9e929ddf98
21 changed files with 1144 additions and 1226 deletions

View File

@ -1,4 +1,8 @@
<template>
<!-- go away eslint -->
<div />
<!-- I don't want to localize this -->
<!--
<div>
<div v-if="user" class="mx-auto max-w-2xl lg:mx-0">
<h2
@ -15,7 +19,6 @@
</div>
<div v-if="user" class="mt-8 grid grid-cols-1 gap-6 sm:grid-cols-2">
<!-- Account Information Card -->
<div
class="overflow-hidden rounded-xl border border-zinc-800 bg-zinc-900 shadow-sm transition-all duration-200 hover:shadow-lg hover:shadow-zinc-900/50"
>
@ -51,7 +54,6 @@
</div>
</div>
<!-- Account Actions Card -->
<div
class="overflow-hidden rounded-xl border border-zinc-800 bg-zinc-900 shadow-sm transition-all duration-200 hover:shadow-lg hover:shadow-zinc-900/50"
>
@ -78,6 +80,7 @@
<div class="text-zinc-400">Loading account information...</div>
</div>
</div>
-->
</template>
<script setup lang="ts">
@ -88,7 +91,4 @@ definePageMeta({
useHead({
title: "Account",
});
// Fetch user data
const user = await $dropFetch("/api/v1/user");
</script>