From bc79e2a623ce1ec5dfa774f1c41f166afbdf8c6a Mon Sep 17 00:00:00 2001 From: didirus Date: Fri, 19 Jun 2026 20:54:13 +0300 Subject: [PATCH] refactor(astralrinth): extract account auth modals from AccountsCard --- .../src/components/ui/AccountsCard.vue | 235 ++++++------------ .../accounts/error/AccountsErrorModals.vue | 113 +++++++++ .../accounts/input/AccountsInputModals.vue | 118 +++++++++ 3 files changed, 305 insertions(+), 161 deletions(-) create mode 100644 apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue create mode 100644 apps/app-frontend/src/components/ui/astralrinth/accounts/input/AccountsInputModals.vue diff --git a/apps/app-frontend/src/components/ui/AccountsCard.vue b/apps/app-frontend/src/components/ui/AccountsCard.vue index c90123436..d10a909f6 100644 --- a/apps/app-frontend/src/components/ui/AccountsCard.vue +++ b/apps/app-frontend/src/components/ui/AccountsCard.vue @@ -138,126 +138,34 @@ - - -
- - -
- -
-
-
-
- - - - -
- -
-
-
- -
- - -
- -
-
-
- -
- -
- -
-
-
- -
- -
    -
  • Check that you have entered the correct player name or email.
  • -
  • Check that you have entered the correct password.
  • -
-
- -
-
-
- -
- -
    -
  • Check that you have entered the correct player name.
  • -
  • - Player name must be at least {{ minOfflinePlayerNameLength }} characters long and no more - than {{ maxOfflinePlayerNameLength }} characters. -
  • -
  • Make sure your name meets the format requirement `{{ nameExp }}`
  • -
-
- -
-
-
- - - + + diff --git a/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue b/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue new file mode 100644 index 000000000..96dfd0db8 --- /dev/null +++ b/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/apps/app-frontend/src/components/ui/astralrinth/accounts/input/AccountsInputModals.vue b/apps/app-frontend/src/components/ui/astralrinth/accounts/input/AccountsInputModals.vue new file mode 100644 index 000000000..b5bee5eb2 --- /dev/null +++ b/apps/app-frontend/src/components/ui/astralrinth/accounts/input/AccountsInputModals.vue @@ -0,0 +1,118 @@ + + + + +