diff --git a/TestHero/ClientApp/src/App.js b/TestHero/ClientApp/src/App.js index 9fce5b6..ab17b6e 100644 --- a/TestHero/ClientApp/src/App.js +++ b/TestHero/ClientApp/src/App.js @@ -1,22 +1,27 @@ -import React, { Component } from 'react'; -import { Route, Routes } from 'react-router-dom'; -import AppRoutes from './AppRoutes'; -import { Layout } from './components/Layout'; -import './custom.css'; +import React, { Component } from "react"; +import { Route, Routes } from "react-router-dom"; +import AppRoutes from "./AppRoutes"; +import { Layout } from "./components/Layout"; +import "./custom.css"; +import Login from "./Pages/login/Login"; export default class App extends Component { static displayName = App.name; render() { return ( - - - {AppRoutes.map((route, index) => { - const { element, ...rest } = route; - return ; - })} - - + // + // {/* + // {AppRoutes.map((route, index) => { + // const { element, ...rest } = route; + // return ; + // })} + // */} + + // +
+ +
); } } diff --git a/TestHero/ClientApp/src/Pages/login/Login.js b/TestHero/ClientApp/src/Pages/login/Login.js index 84684d5..8c398ab 100644 --- a/TestHero/ClientApp/src/Pages/login/Login.js +++ b/TestHero/ClientApp/src/Pages/login/Login.js @@ -5,6 +5,12 @@ import logo from "../../assets/logo.png"; // import { AuthContext } from "../../context/AuthContext"; // import CircularProgress from "@mui/material/CircularProgress"; +/** + * @author: Bernardo de la Sierra + * @license: GP + * @version: 1.0.0 + * Esta clase esta dedica al login + */ export default function Login() { const nombre = useRef(); const password = useRef(); @@ -19,6 +25,7 @@ export default function Login() { // }; // console.log(usuario); + return (
@@ -28,7 +35,7 @@ export default function Login() {
{/* onSubmit={handleClick} */} -

Usuario:

+

Usuario

-

Contraseña:

+

Contraseña