From ed5b8091d3202a3b02dec85830e403435d0db5d6 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 23 Nov 2022 12:25:48 +0800 Subject: [PATCH] feat: rename accounts to user --- components/modal/ModalContainer.vue | 8 +++--- .../AccountSignIn.vue => user/UserSignIn.vue} | 0 .../UserSignInEntry.vue} | 0 .../UserSwitcher.vue} | 14 +++++----- composables/client.ts | 2 +- composables/dialog.ts | 8 +++--- composables/{accounts.ts => users.ts} | 28 +++++++++---------- layouts/default.vue | 4 +-- pages/@[user]/following.vue | 4 --- pages/signin/index.vue | 9 ------ 10 files changed, 32 insertions(+), 45 deletions(-) rename components/{account/AccountSignIn.vue => user/UserSignIn.vue} (100%) rename components/{account/AccountSignInEntry.vue => user/UserSignInEntry.vue} (100%) rename components/{account/AccountSwitcher.vue => user/UserSwitcher.vue} (73%) rename composables/{accounts.ts => users.ts} (56%) delete mode 100644 pages/signin/index.vue diff --git a/components/modal/ModalContainer.vue b/components/modal/ModalContainer.vue index 29ccff74..4dace15e 100644 --- a/components/modal/ModalContainer.vue +++ b/components/modal/ModalContainer.vue @@ -1,12 +1,12 @@ diff --git a/components/account/AccountSignIn.vue b/components/user/UserSignIn.vue similarity index 100% rename from components/account/AccountSignIn.vue rename to components/user/UserSignIn.vue diff --git a/components/account/AccountSignInEntry.vue b/components/user/UserSignInEntry.vue similarity index 100% rename from components/account/AccountSignInEntry.vue rename to components/user/UserSignInEntry.vue diff --git a/components/account/AccountSwitcher.vue b/components/user/UserSwitcher.vue similarity index 73% rename from components/account/AccountSwitcher.vue rename to components/user/UserSwitcher.vue index 64db7d82..bba938f9 100644 --- a/components/account/AccountSwitcher.vue +++ b/components/user/UserSwitcher.vue @@ -1,10 +1,10 @@ @@ -15,16 +15,16 @@ const sortedAccounts = computed(() => { Switch Account
-