From b46c0bd994951be8e203be34b6d81b342183ebca Mon Sep 17 00:00:00 2001 From: MartinCaballero812 Date: Sat, 19 Aug 2023 19:39:10 -0300 Subject: [PATCH 1/6] Register and Login Design --- client/src/components/Footer.js | 14 +- client/src/components/Nav.js | 2 +- client/src/pages/Correlatives.js | 2 +- client/src/pages/Home.js | 6 +- client/src/pages/Load_Datas.js | 274 ++++++++++++++--- client/src/pages/Login.js | 54 ++-- client/src/pages/Profile.js | 2 +- client/src/pages/Registration.js | 54 ++-- client/src/pages/index.js | 2 +- client/src/styles/Home.module.css | 272 ----------------- client/src/styles/general.module.css | 433 +++++++++++++++++++++++++++ 11 files changed, 747 insertions(+), 368 deletions(-) delete mode 100644 client/src/styles/Home.module.css create mode 100644 client/src/styles/general.module.css diff --git a/client/src/components/Footer.js b/client/src/components/Footer.js index 37c64f8..3a752b7 100644 --- a/client/src/components/Footer.js +++ b/client/src/components/Footer.js @@ -1,7 +1,7 @@ import React from "react"; -import styles from "@/styles/Home.module.css"; +import styles from "@/styles/general.module.css"; @@ -10,13 +10,13 @@ function Footer() { return (
-
- - CONTACTO: -
- caballeromarting08@gmail.com 1.0.0 (VERSIÓN WEB) - +
+ + CONTACTO: + caballeromarting08@gmail.com +
+ 1.0.0 (VERSIÓN WEB)
); diff --git a/client/src/components/Nav.js b/client/src/components/Nav.js index 81b742b..0ab4baf 100644 --- a/client/src/components/Nav.js +++ b/client/src/components/Nav.js @@ -1,7 +1,7 @@ import React from "react"; import { Inter, Staatliches } from "next/font/google"; import Link from "next/link"; -import styles from "@/styles/Home.module.css"; +import styles from "@/styles/general.module.css"; function NavWeb() { diff --git a/client/src/pages/Correlatives.js b/client/src/pages/Correlatives.js index e5ff7b2..bc7c398 100644 --- a/client/src/pages/Correlatives.js +++ b/client/src/pages/Correlatives.js @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import Nav from "@/components/Nav"; import Footer from "@/components/Footer"; -import styles from "@/styles/Home.module.css"; +import styles from "@/styles/general.module.css"; import Head from "next/head"; import { useRouter } from "next/router"; diff --git a/client/src/pages/Home.js b/client/src/pages/Home.js index 149cc1b..015f80f 100644 --- a/client/src/pages/Home.js +++ b/client/src/pages/Home.js @@ -1,12 +1,11 @@ import React, { useState } from "react"; import Nav from "@/components/Nav"; import Footer from "@/components/Footer"; - +import styles from "@/styles/general.module.css"; import Head from "next/head"; import axios from "axios"; import { useRouter } from "next/router"; -import styles from "@/styles/Home.module.css"; export default function Home() { const [email, setEmail] = useState(""); @@ -40,9 +39,8 @@ export default function Home() {
+
- {/*--------Artificial_intelligence---------- */} -
-

Inteligencia Artificial

- - - - - - - - - - - - - - -
-
- {/*--------Artificial_intelligence---------- */} - {/*--------Management Management---------- */} -
-

Gestión Gerencia

- - - - - - - - - - - - - - -
-
- {/*--------Management Management---------- */} - {/*--------Management systems---------- */} -
-

Sistemas de Gestión

- - - - - - - - - - - - - - -

- {/*--------Management systems---------- */}
+

@@ -1293,100 +619,11 @@ const secondYear = { {" "} Segundo Cuatrimestre{" "} +
+ +

- {/*--------Data Science---------- */} -
-

Ciencias de Datos

- - - - - - - - - - - - - - -
-
- {/*--------Engineering and Software Quality---------- */} - {/*--------Security in Information Systems---------- */} -
-

Seguridad en los Sistemas de Información

- - - - - - - - - - - - - - -
-
- {/*--------Security in Information Systems---------- */}
@@ -1394,64 +631,15 @@ const secondYear = {

Anual


- {/*--------Final project--------- */} -
-

Proyecto Final

- - - - - - - - - - - - - - -
- {/*--------Final project--------- */}

- ) : null}
{/*--------FIFRTH YEAR---------- */}


-

{/*--------YEARS----------- */}
diff --git a/client/src/pages/Login.js b/client/src/pages/Login.js index b21ffe4..4412e5f 100644 --- a/client/src/pages/Login.js +++ b/client/src/pages/Login.js @@ -63,9 +63,9 @@ export default function Login() {
- No te has registrado? - - Registrarte + No te has registrado? + + Registrate
diff --git a/client/src/pages/Registration.js b/client/src/pages/Registration.js index b5d9be6..93f7736 100644 --- a/client/src/pages/Registration.js +++ b/client/src/pages/Registration.js @@ -83,3 +83,4 @@ export default function Registration() { ); } + \ No newline at end of file diff --git a/client/src/styles/general.module.css b/client/src/styles/general.module.css index 9467a99..2b35ae2 100644 --- a/client/src/styles/general.module.css +++ b/client/src/styles/general.module.css @@ -80,7 +80,14 @@ margin-top: 1%; font-family: "fantasy", serif; } +.form_login_text{ + font-size: 20px; +} +.form_login a{ + text-decoration: none; + color: #2898ee; +} /*LOGIN */ /*REGISTRO */ @@ -112,9 +119,10 @@ align-items: center; background-color: white; border-radius: 10%; margin: 30%; - width: 40%; + width: 50%; height: 70%; + justify-content: center; @@ -132,9 +140,7 @@ align-items: center; font-family: "fantasy", serif; } -.form_register a{ - text-decoration: none; -} + .form_register button { top: 100%; background-color: #2898ee; @@ -162,7 +168,11 @@ align-items: center; font-size: 22px; margin-top: 1%; font-family: "fantasy", serif; - + color: #2898ee; +} +.form_register a{ + text-decoration: none; + color: #2898ee; } /*REGISTRO */ @@ -231,7 +241,7 @@ background: linear-gradient( #1f77cc, .footer{ text-align: center; - margin: 0%; + margin-top: 500px; width: 10%; bottom: 0; position: fixed; @@ -311,18 +321,6 @@ background: linear-gradient( #1f77cc, -/* .years a{ - - color: white; -} -.textbutom { - text-align: center; - color: white; - text-decoration: none; - background: none; - cursor: pointer; -} */ - @@ -348,13 +346,79 @@ margin-top: 0%; width: 100%; /* Cambiar este valor según el porcentaje deseado del ancho */ grid-gap: 1%; /* Espacio entre los elementos */ -} + } .footer{ padding: 1px; -} + } .textfooter { font-size: 01px; + } + +.container_login{ + + margin: 0%; + height: 100%; + width: 100%; + + + +} +.form_login{ + width: 100%; + height: 34%; + margin: 15%; + + + +} + +.form_login input{ + font-size: 21px; + +} +.form_login button { + height: auto; + width: 50%; + font-size: 12px; + +} + +.form_title_login{ + color: #1f77cc; + font-size: 20px; +} +.container_register{ + + margin: 0%; + height: 100%; + width: 100%; + + + +} +.form_register{ + width: 100%; + height: 40%; + margin: 15%; +} +.form_register button { + height: auto; + width: 50%; + margin: 6%; + border-radius: 16px; + font-size: 21px; + +} + +.form_register input{ + + font-size: 20px; + +} +.form_title_register{ + color: #1f77cc; + font-size: 20px; } } @@ -372,25 +436,9 @@ margin-top: 0%; .textfooter { font-size: 3px; } - -} -@media screen and (min-width: 769px) and (max-width: 1024px) { - .nav{ - background-color: #ff7676; - width: 70%; /* Cambiar este valor según el porcentaje deseado del ancho */ - - } - - .footer{ - padding: 5px; -} -.textfooter { - font-size: 10px; -} - } -@media screen and (min-width: 1025px) and (max-width: 1200px) { + @media screen and (min-width: 1025px) and (max-width: 1200px) { .nav{ @@ -402,14 +450,22 @@ margin-top: 0%; .nav a { font-size: 20px; } - } .footer{ padding: 5px; } .textfooter { font-size: 10px; } - +.form_register{ + width: 50%; + height: 40%; +} +.form_login{ + width: 50%; + height: 40%; +} + +} @media screen and (min-width: 1201px){ .nav{ background-color: #ff7676; @@ -425,6 +481,14 @@ margin-top: 0%; .textfooter{ font-size: 25px; } +.form_register{ + width: 50%; + height: 40%; +} +.form_login{ + width: 50%; + height: 40%; +} From e091a107edc2cb8dc54ffff959bd58f9263fdba4 Mon Sep 17 00:00:00 2001 From: MartinCaballero812 Date: Sat, 26 Aug 2023 18:22:31 -0300 Subject: [PATCH 4/6] Bug desing fixed --- client/src/styles/general.module.css | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/client/src/styles/general.module.css b/client/src/styles/general.module.css index 2b35ae2..9052776 100644 --- a/client/src/styles/general.module.css +++ b/client/src/styles/general.module.css @@ -466,29 +466,7 @@ margin-top: 0%; } } -@media screen and (min-width: 1201px){ - .nav{ - background-color: #ff7676; - border-bottom-left-radius: 80px; - } - .nav a { - font-size: 15px; - } - } - .footer{ - padding: 10px; -} -.textfooter{ - font-size: 25px; -} -.form_register{ - width: 50%; - height: 40%; -} -.form_login{ - width: 50%; - height: 40%; -} + From adade8ffdb881643bfa9fdf853cdfb62d9617a6c Mon Sep 17 00:00:00 2001 From: MartinCaballero812 Date: Sun, 27 Aug 2023 17:40:03 -0300 Subject: [PATCH 5/6] Resolution fixed --- client/package-lock.json | 60 ++++++++++++++++++++++++++++ client/src/styles/general.module.css | 7 ++++ 2 files changed, 67 insertions(+) diff --git a/client/package-lock.json b/client/package-lock.json index 97166bf..48b8d55 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -3370,6 +3370,66 @@ "funding": { "url": "https://github.com/sponsors/colinhacks" } + }, + "node_modules/@next/swc-android-arm-eabi": { + "version": "13.2.4", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.2.4.tgz", + "integrity": "sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-android-arm64": { + "version": "13.2.4", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.2.4.tgz", + "integrity": "sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-freebsd-x64": { + "version": "13.2.4", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.2.4.tgz", + "integrity": "sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm-gnueabihf": { + "version": "13.2.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.2.4.tgz", + "integrity": "sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/client/src/styles/general.module.css b/client/src/styles/general.module.css index 9052776..12c117b 100644 --- a/client/src/styles/general.module.css +++ b/client/src/styles/general.module.css @@ -436,7 +436,14 @@ margin-top: 0%; .textfooter { font-size: 3px; } +.form_login{ + width: 100%; + height: 40%; + margin: 9%; + + +} } @media screen and (min-width: 1025px) and (max-width: 1200px) { From 2c077d07a15bad2d807ef87f44640970062a4077 Mon Sep 17 00:00:00 2001 From: MartinCaballero812 Date: Sun, 27 Aug 2023 17:58:31 -0300 Subject: [PATCH 6/6] Resolution fixed --- client/src/styles/general.module.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client/src/styles/general.module.css b/client/src/styles/general.module.css index 12c117b..0fea1a4 100644 --- a/client/src/styles/general.module.css +++ b/client/src/styles/general.module.css @@ -441,8 +441,11 @@ margin-top: 0%; height: 40%; margin: 9%; - - +} +.form_register{ + width: 100%; + height: 40%; + margin: 15%; } } @media screen and (min-width: 1025px) and (max-width: 1200px) {