Explorar el Código

fix: fluxo continuar sem cadastrar + hint no profile media no cadastro

Gustavo Mantovani hace 2 semanas
padre
commit
809c699aac
Se han modificado 2 ficheros con 11 adiciones y 2 borrados
  1. 9 0
      src/components/login/LoginStepAvatarPanel.vue
  2. 2 2
      src/pages/LoginPage.vue

+ 9 - 0
src/components/login/LoginStepAvatarPanel.vue

@@ -48,6 +48,10 @@
         <div class="text-text text-center font12">
           {{ $t("auth.avatar_step_title") }}
         </div>
+
+        <div class="avatar-step__hint text-center text-grey-7 font11">
+          {{ $t("auth.avatar_step_hint") }}
+        </div>
       </div>
     </div>
   </q-card-section>
@@ -230,4 +234,9 @@ onBeforeUnmount(() => {
   height: 100%;
   object-fit: cover;
 }
+
+.avatar-step__hint {
+  max-width: 220px;
+  line-height: 1.3;
+}
 </style>

+ 2 - 2
src/pages/LoginPage.vue

@@ -57,7 +57,7 @@
             icon-right="mdi-chevron-right-circle-outline"
             no-caps
             :label="$t('auth.register_later')"
-            @click="steps = 4"
+            @click="steps = 5"
           />
         </div>
 
@@ -170,7 +170,7 @@ const goBack = () => {
   if (steps.value === 4) {
     steps.value = 3;
   } else if (steps.value === 5) {
-    steps.value = 4;
+    steps.value = 3;
   }
 };