diff --git a/public/assets/media/auth/Login-Page.svg b/public/assets/media/auth/Login-Page.svg
new file mode 100644
index 0000000..a421051
--- /dev/null
+++ b/public/assets/media/auth/Login-Page.svg
@@ -0,0 +1,38 @@
+
diff --git a/public/assets/media/auth/Logo-Gananza1.svg b/public/assets/media/auth/Logo-Gananza1.svg
new file mode 100644
index 0000000..48e843a
--- /dev/null
+++ b/public/assets/media/auth/Logo-Gananza1.svg
@@ -0,0 +1,10 @@
+
diff --git a/public/assets/media/auth/Logo-Gananza2.svg b/public/assets/media/auth/Logo-Gananza2.svg
new file mode 100644
index 0000000..fa203ac
--- /dev/null
+++ b/public/assets/media/auth/Logo-Gananza2.svg
@@ -0,0 +1,10 @@
+
diff --git a/resources/js/Components/Sign-in/LoginComponent.vue b/resources/js/Components/Sign-in/LoginComponent.vue
index ba5d859..7dafff8 100644
--- a/resources/js/Components/Sign-in/LoginComponent.vue
+++ b/resources/js/Components/Sign-in/LoginComponent.vue
@@ -3,10 +3,10 @@
-
-
+
+
¡Más cerca de
ganar!
@@ -18,7 +18,6 @@
-
-
-
@@ -55,8 +51,7 @@
- GitHub
+ class="theme-dark-show h-15px me-3" />GitHub
@@ -66,16 +61,19 @@
O con tu correo
-
+
+
+
+
@@ -87,9 +85,7 @@
+ style="margin-bottom: 10px;">Cancelar
+
diff --git a/resources/js/Pages/Auth/Register.vue b/resources/js/Pages/Auth/Register.vue
index 12633da..224acb8 100644
--- a/resources/js/Pages/Auth/Register.vue
+++ b/resources/js/Pages/Auth/Register.vue
@@ -56,17 +56,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
-
-
+
+
¡Descubre Gananza!
@@ -154,11 +172,14 @@
import { ref, computed, onMounted } from 'vue'; // Importar onMounted
import { Sun, Moon } from 'lucide-vue-next';
import { useForm } from '@inertiajs/vue3';
+import InputError from '@/Components/InputError.vue'; // Importar InputError
+
export default {
components: {
Sun,
Moon,
+ InputError,
},
setup() {
const form = useForm({
@@ -169,10 +190,11 @@ export default {
phone_number: '',
email: '',
password: '',
- confirmPassword: '',
- termsAccepted: false,
+ password_confirmation: '',
+ terms: false, // Cambia termsAccepted a terms
});
+
const isDarkMode = ref(false);
// Cargar el valor de localStorage al iniciar el componente
@@ -199,7 +221,7 @@ export default {
const submit = () => {
form.post(route('register'), {
- onFinish: () => form.reset('password', 'confirmPassword'),
+ onFinish: () => form.reset('password', 'password_confirmation'),
});
};
@@ -231,7 +253,12 @@ export default {