From 43c91b3c5446372c67b70b3bc7dd4c2737705550 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Sat, 21 Feb 2026 21:38:44 +0100 Subject: [PATCH] refactor: restructure and improve quality --- app/app.vue | 18 +- app/components/{body => }/ApiModal.vue | 4 +- app/components/AppBody.vue | 232 + app/components/{header => }/AppHeader.vue | 24 +- app/components/body/AppBody.vue | 9 - app/components/body/QRCodeForm.vue | 229 - app/components/body/QRCodePreview.vue | 10 - app/components/header/ThemeSwitcher.vue | 23 - app/stores/app.ts | 6 - nuxt.config.ts | 2 +- package.json | 2 - pnpm-lock.yaml | 9576 ++++++++++++++------- server/api/index.ts | 19 +- 13 files changed, 6577 insertions(+), 3577 deletions(-) rename app/components/{body => }/ApiModal.vue (96%) create mode 100644 app/components/AppBody.vue rename app/components/{header => }/AppHeader.vue (58%) delete mode 100644 app/components/body/AppBody.vue delete mode 100644 app/components/body/QRCodeForm.vue delete mode 100644 app/components/body/QRCodePreview.vue delete mode 100644 app/components/header/ThemeSwitcher.vue delete mode 100644 app/stores/app.ts diff --git a/app/app.vue b/app/app.vue index 4b26e2c..b2c790c 100644 --- a/app/app.vue +++ b/app/app.vue @@ -20,14 +20,16 @@ useSeoMeta({ diff --git a/app/components/body/ApiModal.vue b/app/components/ApiModal.vue similarity index 96% rename from app/components/body/ApiModal.vue rename to app/components/ApiModal.vue index 011c5ab..c33c09a 100644 --- a/app/components/body/ApiModal.vue +++ b/app/components/ApiModal.vue @@ -1,12 +1,10 @@