diff --git a/src/components/TheHeader.vue b/src/components/TheHeader.vue
index e3d4e72..b0732f7 100644
--- a/src/components/TheHeader.vue
+++ b/src/components/TheHeader.vue
@@ -36,7 +36,7 @@ export default {
},
methods: {
logout() {
- localStorage.clear("");
+ localStorage.clear();
this.$router.push("/login");
},
},
diff --git a/src/pages/login/TheLoginCopy.vue b/src/pages/login/TheLoginCopy.vue
deleted file mode 100644
index 29c7f7a..0000000
--- a/src/pages/login/TheLoginCopy.vue
+++ /dev/null
@@ -1,138 +0,0 @@
-
- .login-wrapper.flex
- .left-col.flex.flex-col.items-center
- .logo-wrapper.absolute.left-12.top-12
- img(:src="logoMark")
- .login-panel.flex.flex-col.justify-center.gap-y-10
- .flex.flex-col.gap-y-2
- .text-welcome.flex.not-italic.font-bold.text-5xl Добро пожаловать!
- .text-under.flex.not-italic.font-medium.text-base(
- :style="{color: this.underTextColor}") Очень рады вас видеть. Войдите в аккаунт, чтобы начать пользоваться сервисом «Астра».
- .flex.flex-col.gap-y-5
- .flex.flex-col.gap-y-6px
- .flex.non-italic.font-semibold.text-xss Логин
- base-input.h-12.font-medium(
- :style="{borderColor: !this.authorized ? this.borderColor : ''}"
- v-model:value="user.username"
- type="text"
- placeholder="Введите ваш логин")
- .flex.flex-col.gap-y-6px.relative
- .flex.non-italic.font-semibold.text-xss Пароль
- base-input.h-12(
- :style="{borderColor: this.authorized ? '' : this.borderColor}"
- v-model:value="user.password"
- :type="changeType"
- placeholder="Введите ваш пароль")
- img.absolute.z-10.right-4.bottom-14px.cursor-pointer(:src="changeIcon", alt="eyePassword", @click="changeView")
- span.font-medium(:style="{color: this.borderColor}", v-show="!authorized") Неверный логин или пароль
- .flex.items-center.gap-x-11px
- input.w-4.h-4.checkbox.cursor-pointer(@click="persist", type="checkbox")
- .flex.non-italic.font-medium.base Запомнить меня
- base-button.font-semibold(:disabled="disabledButton", :size="48", @click="login") Войти в аккаунт
- .absolute.left-12.bottom-12 2022 © Астра
- .right-col.flex.items-center.justify-center.relative
-
-
-
-
-