diff --git a/webapp/src/App.js b/webapp/src/App.js index 0de25d2..849ff74 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -1,4 +1,4 @@ -/* import React, { useState } from 'react'; + import React, { useState } from 'react'; import AddUser from './components/AddUser'; import Login from './components/Login'; import CssBaseline from '@mui/material/CssBaseline'; @@ -25,6 +25,7 @@ function App() { // {showLogin ? : } muestra el componente Login si showLogin es true, y AddUser en caso contrario return ( + WIQ_ES04C @@ -41,11 +42,14 @@ function App() { )} + ); } -export default App; */ +export default App; + +/* import React from 'react'; import GenerateQuestion from './components/GenerateQuestion'; // Asegúrate de importar GenerateQuestion correctamente import Login from './components/Login'; @@ -61,13 +65,5 @@ function App() { Welcome to the 2024 edition of the Software Architecture course - {/* Aquí se muestra el componente GenerateQuestion */} + { Aquí se muestra el componente GenerateQuestion */ - - -
- - ); -} - -export default App; diff --git a/webapp/src/App.test.js b/webapp/src/App.test.js index 5e3b731..2a50f56 100644 --- a/webapp/src/App.test.js +++ b/webapp/src/App.test.js @@ -3,6 +3,6 @@ import App from './App'; test('renders learn react link', () => { render(); - const linkElement = screen.getByText(/Welcome to the 2024 edition of the Software Architecture course/i); + const linkElement = screen.getByText(/WIQ_ES04C/i); expect(linkElement).toBeInTheDocument(); }); diff --git a/webapp/src/index.js b/webapp/src/index.js index efa143b..149c74e 100644 --- a/webapp/src/index.js +++ b/webapp/src/index.js @@ -4,6 +4,7 @@ import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; /*funcion q representa la barra de navegacion superior*/ +import Footer from './components/Footer'; import Navbar from './components/NavBar'; const root = ReactDOM.createRoot(document.getElementById('root')); @@ -14,6 +15,7 @@ root.render( + );