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