|
|
@@ -1,18 +1,38 @@
|
|
|
<template>
|
|
|
- <q-page class="column">
|
|
|
+ <q-page class="column justify-center items-center login-page">
|
|
|
<div
|
|
|
flat
|
|
|
- class="column justify-around items-center flex-grow full-width full-height z-top"
|
|
|
+ class="column justify-center items-center flex-grow full-width z-top bg-background"
|
|
|
+ style="
|
|
|
+ max-width: 659px;
|
|
|
+ max-height: 738px;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 15px;
|
|
|
+ "
|
|
|
>
|
|
|
- <div class="column flex-center full-width q-px-md">
|
|
|
- <q-img :src="Logo" style="max-width: 650px" />
|
|
|
- <div class="text-h5 q-mt-xl">{{ $t("auth.login") }}</div>
|
|
|
+ <div class="column flex-center full-width">
|
|
|
+ <q-img
|
|
|
+ :src="Logo"
|
|
|
+ style="max-width: 611px; max-height: 171px; height: 100%; width: 100%"
|
|
|
+ />
|
|
|
+ <div class="text-h4 q-mt-xl text-primary" style="font-weight: 400">
|
|
|
+ Faça seu Login
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div
|
|
|
+ class="items-center full-width q-px-lg q-mt-xl"
|
|
|
+ style="display: flex; gap: 12px"
|
|
|
+ >
|
|
|
+ <div class="bg-primary" style="height: 1px; flex: 1"></div>
|
|
|
+ <q-icon name="mdi-chevron-down" size="lg" color="warning" />
|
|
|
+ <div class="bg-primary" style="height: 1px; flex: 1"></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<q-form
|
|
|
ref="formRef"
|
|
|
- class="full-width q-pa-md q-pb-xl"
|
|
|
- style="max-width: 400px"
|
|
|
+ class="full-width q-px-lg column q-gutter-y-md q-mt-xs"
|
|
|
autocorrect="off"
|
|
|
autocapitalize="off"
|
|
|
autocomplete="off"
|
|
|
@@ -24,28 +44,27 @@
|
|
|
v-model:error="validationErrors.email"
|
|
|
type="email"
|
|
|
lazy-rules
|
|
|
- autofocus
|
|
|
:label="$t('common.terms.email')"
|
|
|
:rules="[inputRules.required, inputRules.email]"
|
|
|
/>
|
|
|
+
|
|
|
<DefaultPasswordInput
|
|
|
v-model="form.password"
|
|
|
v-model:error="validationErrors.password"
|
|
|
:rules="[inputRules.required, inputRules.min(6)]"
|
|
|
:label="$t('common.terms.password')"
|
|
|
/>
|
|
|
- <q-checkbox
|
|
|
- v-model="checkbox"
|
|
|
- size="xs"
|
|
|
- label="Lembrar email"
|
|
|
- class="q-mb-md"
|
|
|
- style="margin-left: -6px"
|
|
|
- />
|
|
|
+
|
|
|
+ <span
|
|
|
+ class="q-ma-xs text-body2 text-primary"
|
|
|
+ style="letter-spacing: 0.25px"
|
|
|
+ >Esqueceu sua senha?</span
|
|
|
+ >
|
|
|
<div>
|
|
|
<q-btn
|
|
|
- class="full-width"
|
|
|
- color="primary"
|
|
|
- :label="$t('auth.sign-in')"
|
|
|
+ class="full-width q-mt-md"
|
|
|
+ color="primary-2"
|
|
|
+ label="Entrar"
|
|
|
size="md"
|
|
|
padding="sm"
|
|
|
type="submit"
|
|
|
@@ -56,7 +75,6 @@
|
|
|
</template>
|
|
|
</q-btn>
|
|
|
</div>
|
|
|
- <div style="height: 160px"></div>
|
|
|
</q-form>
|
|
|
</div>
|
|
|
</q-page>
|
|
|
@@ -123,6 +141,9 @@ onBeforeMount(() => {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.login-page {
|
|
|
- position: relative;
|
|
|
+ background-image: url("background.png");
|
|
|
+ background-size: cover;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center;
|
|
|
}
|
|
|
</style>
|