login terminado para produccion

This commit is contained in:
2020-08-03 23:17:51 -05:00
parent 4f4602cb0f
commit a5ab2f2888
12 changed files with 55 additions and 35 deletions
+1
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

+1 -1
View File
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><link href=css/app.67c8f551.css rel=preload as=style><link href=css/chunk-vendors.cbc2a074.css rel=preload as=style><link href=js/app.99c2d4d1.js rel=preload as=script><link href=js/chunk-vendors.5b53642e.js rel=preload as=script><link href=css/chunk-vendors.cbc2a074.css rel=stylesheet><link href=css/app.67c8f551.css rel=stylesheet></head><head><meta name=viewport content="width=device-width,initial-scale=1"><meta charset=utf-8><link rel=stylesheet href=https://unpkg.com/purecss@1.0.0/build/pure-min.css integrity=sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w crossorigin=anonymous><link rel=stylesheet href=https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css><link rel=stylesheet type=text/css href=style.css media=screen><link rel=stylesheet href=https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css integrity=sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB crossorigin=anonymous><title>HACKATHON REGISTRO</title><link rel="shortcut icon" href=img/icono.png><body><noscript><strong>We're sorry but hack_unam doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5b53642e.js></script><script src=js/app.99c2d4d1.js></script></body></head></html>
<!DOCTYPE html><html lang=en><head><link href=css/app.60eeee87.css rel=preload as=style><link href=css/chunk-vendors.cbc2a074.css rel=preload as=style><link href=js/app.49f08576.js rel=preload as=script><link href=js/chunk-vendors.5b53642e.js rel=preload as=script><link href=css/chunk-vendors.cbc2a074.css rel=stylesheet><link href=css/app.60eeee87.css rel=stylesheet></head><head><meta name=viewport content="width=device-width,initial-scale=1"><meta charset=utf-8><link rel=stylesheet href=https://unpkg.com/purecss@1.0.0/build/pure-min.css integrity=sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w crossorigin=anonymous><link rel=stylesheet href=https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css><link rel=stylesheet type=text/css href=style.css media=screen><link rel=stylesheet href=https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css integrity=sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB crossorigin=anonymous><title>HACKATHON REGISTRO</title><link rel="shortcut icon" href=img/icono.png><body><noscript><strong>We're sorry but hack_unam doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5b53642e.js></script><script src=js/app.49f08576.js></script></body></head></html>
+2
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
-2
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

+17 -15
View File
@@ -111,7 +111,7 @@
<div class="form-check">
<input
type="checkbox"
class="form-check-input"
class="form-check-input "
id="exampleCheck1"
v-model="confirmacion"
/>
@@ -227,7 +227,7 @@ export default {
noIntegrantes: 1,
integrantes: [],
cargando: false,
confirmacion: false,
confirmacion: false
};
},
methods: {
@@ -246,7 +246,7 @@ export default {
nombre: "",
apellidoPa: "",
apellidoMa: "",
correo: "",
correo: ""
});
}
},
@@ -303,11 +303,10 @@ export default {
showCancelButton: true,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Si",
}).then((result) => {
confirmButtonText: "Si"
}).then(result => {
if (result.value) {
window.location.href =
"https://www.acatlan.unam.mx/hackaton/index.html#head";
window.location.href = "http://aws.unam.mx/";
}
});
},
@@ -323,28 +322,29 @@ export default {
apellidoMaLider: this.apellidoMaLider,
correoLider: this.correoLider,
carreraLider: this.carrera,
integrantes: this.integrantes,
integrantes: this.integrantes
};
axios
.post(`${config.api}/registro`, data)
.then(async (respose) => {
.then(async respose => {
this.cargando = false;
console.log(respose.data.msj);
await Swal.fire("Has sido registrado", "", "success");
window.location.href =
"https://www.acatlan.unam.mx/hackaton/index.html#head";
window.location.href = "http://aws.unam.mx/";
return;
})
.catch(async (error) => {
.catch(async error => {
this.cargando = false;
console.log(error.response.data.msj);
await Swal.fire(
"Ocurrio un error",
`${error.response.data.msj}`,
"error"
).then((window.location.href = "#"));
);
window.location.href = "http://aws.unam.mx/";
});
},
},
}
}
};
</script>
@@ -354,10 +354,12 @@ export default {
margin-left: 1.3rem;
margin-top: 1rem;
padding-top: 0.4rem;
display: flex;
}
.form-check-input {
width: 1.5rem;
height: 1.5rem;
display: flex;
}
.espacio {
margin-bottom: 3rem;
+2 -2
View File
@@ -1,5 +1,5 @@
const config = {
//api: "http://localhost:3000",
api: "https://venus.acatlan.unam.mx/hackaton"
//api: "http://localhost:3001"
api: "https://venus.acatlan.unam.mx/indiana_hackaton"
};
module.exports = config;
+31 -13
View File
@@ -1,34 +1,31 @@
<template>
<footer class="general">
<div class="footer pure-g">
<!--<img class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4" src="https://www.c3.unam.mx/image/logoUnam.png" style="width: 90px; height: 90px; margin: 2% auto; height: auto">-->
<img
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4"
src="../assets/SDI_B_150px.png"
style="width: 120px; height: 90px; margin: 2% auto; height: auto"
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 img-footer-1"
src="./../assets/SDI_B_150px.png"
/>
<img
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4"
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 img-footer-2"
src="https://www.acatlan.unam.mx/identidad-acatlan/img/Logotipos/Escudo/escudo-b2.png"
style="width: 90px; height: 90px; margin: 2% auto;"
/>
<img
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4"
src="http://derecho.posgrado.unam.mx/ppd-14_out/imgs/fesaragonlogowhite.png"
style="width: 90px; height: 90px; margin: 2% auto;"
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 img-footer-2"
src="./../assets/fesaragonlogo-b.png"
/>
<img
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4"
src="https://www.ingenieria.unam.mx/nuestra_facultad/images/institucionales/escudo_fi_color.png"
style="width: 90px; height: 90px; margin: 2% auto;"
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 img-footer-2"
src="http://aws.unam.mx/img/escudo_fi_blanco.png"
/>
<img
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4"
class="pure-u-1-2 pure-u-sm-1-2 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 img-footer-2"
src="https://www.acatlan.unam.mx/pcpuma/img/logos/unam-nacion-blanco.png"
style="width: 90px; height: 90px; margin: 2% auto; height: auto"
/>
<div
@@ -50,6 +47,27 @@ export default {};
</script>
<style>
.img-footer-1 {
width: 120px;
height: 90px;
margin: 3% auto;
}
.img-footer-2 {
width: 90px;
height: 100px;
margin: 2% auto;
}
@media screen and (max-width: 767px) {
.footer img {
width: 40px;
height: 40px;
}
.texto_footer {
font-size: 12px !important;
}
}
.general {
max-width: 1280px;
height: auto;