refactor login page and add user avatar to header

This commit is contained in:
kandrusyak
2023-07-28 02:18:56 +03:00
parent eced313580
commit 2120cba2e9
4 changed files with 34 additions and 42 deletions

View File

@@ -24,11 +24,14 @@
:shadow-text="shadowText",
:autofocus="autofocus",
hide-bottom-space
:error="error"
)
template(v-slot:prepend, v-if="iconLeft")
slot(name="iconLeft")
template(v-slot:append, v-if="iconRight")
slot(name="iconRight")
template(#error v-if="error")
slot(name="error")
slot(v-if="!iconLeft && !iconRight")
</template>
@@ -80,6 +83,7 @@ export default {
size: String,
circle: Boolean,
height: String,
error: Boolean,
},
emits: ["update:modelValue"],
computed: {