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 @@ - - - - Enter your 2FA code - - - - Continue - - - - - - Enter your player name or email (preferred) - - Enter your password - - - - Login - - - - - - - Enter your player name - - - Login - - - - - - - An error occurred while logging in. - - - Try again - - - - - - - An error occurred while adding the Ely.by account. Please follow the instructions below. - - - Check that you have entered the correct player name or email. - Check that you have entered the correct password. - - - Try again - - - - - - - An error occurred while adding the offline account. Please follow the instructions below. - - - 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 }}` - - - Try again - - - - - - An unexpected error has occurred. Please try again later. - - + + 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 @@ + + + + + + + An error occurred while logging in. + + + Try again + + + + + + + An error occurred while adding the Ely.by account. Please follow the instructions below. + + + Check that you have entered the correct player name or email. + Check that you have entered the correct password. + + + Try again + + + + + + + An error occurred while adding the offline account. Please follow the instructions below. + + + 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 }}` + + + Try again + + + + + + An unexpected error has occurred. Please try again later. + + + + + 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 @@ + + + + + + + Enter your 2FA code + + + + Continue + + + + + + Enter your player name or email (preferred) + + Enter your password + + + + Login + + + + + + + Enter your player name + + + + Login + + + + + + +