Quellcode durchsuchen

cambiar mensaje registro

Erwin Jacimino vor 8 Monaten
Ursprung
Commit
e790ea2a8b
2 geänderte Dateien mit 6 neuen und 8 gelöschten Zeilen
  1. 1 3
      public/register/app.js
  2. 5 5
      public/register/index.html

+ 1 - 3
public/register/app.js

@@ -46,8 +46,6 @@ document.getElementById('registerForm').addEventListener('submit', function (e)
         method: 'POST',
         headers: {
             'Content-Type': 'application/json'
-        },
-        body: JSON.stringify(data)
     })
     .then(async response => {
         const responseData = await response.json().catch(() => ({}));
@@ -103,6 +101,6 @@ function hideGlobalLoader() {
 document.addEventListener('DOMContentLoaded', function () {
     createGlobalLoader();
     hideGlobalLoader();
-    showRegisterModal();
+ //   showRegisterModal();
 });
 

+ 5 - 5
public/register/index.html

@@ -17,7 +17,7 @@
 
     <!-- === MODAL DE REGISTRO === -->
     <div id="registerModal"
-         class="fixed hidden inset-0 bg-black/70 flex items-center justify-center z-50 p-4">
+         class="hidden inset-0 bg-black/70 flex items-center justify-center z-50 p-4">
       <form id="registerForm" class="bg-white w-full max-w-md p-8 rounded-xl shadow-xl space-y-6">
         <div class="text-center">
           <h2 class="text-2xl font-bold text-gray-900">¡Regístrate!</h2>
@@ -79,7 +79,7 @@
     </div>
 
         <!-- === PÁGINA DE REGISTRO EXITOSO === -->
-    <div id="successPage" class="hidden min-h-screen bg-gray-100 flex items-center justify-center p-4">
+    <div id="successPage" class=" min-h-screen bg-gray-100 flex items-center justify-center p-4">
       <div class="bg-white w-full max-w-lg p-10 rounded-xl shadow-xl space-y-8 text-center">
         <!-- Icono de éxito -->
         <div class="flex justify-center">
@@ -92,9 +92,9 @@
 
         <!-- Mensaje de éxito -->
         <div>
-          <h1 class="text-3xl font-bold text-gray-900 mb-3">¡Registro Exitoso!</h1>
+          <h1 class="text-3xl font-bold text-gray-900 mb-3">Revisa tu correo electronico para establecer tu PIN</h1>
           <p class="text-gray-600 text-lg">
-            Tu cuenta ha sido creada correctamente. Recibirás un correo electrónico de confirmación en breve.
+          Tu cuenta esta <stronghcasi lista. Recibirás un correo electrónico de confirmación en breve.
           </p>
           <p class="text-gray-600 text-lg mt-4">
             Espero que disfrutes de la experiencia de pedidos con nosotros.
@@ -103,4 +103,4 @@
       </div>
     </div>
 </body>
-</html>
+</html>