diff --git a/package-lock.json b/package-lock.json
deleted file mode 100644
index 9bdaa85..0000000
--- a/package-lock.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "wiq_es04c",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {}
-}
diff --git a/webapp/package.json b/webapp/package.json
index 442d0f4..74e31be 100644
--- a/webapp/package.json
+++ b/webapp/package.json
@@ -51,6 +51,5 @@
"puppeteer": "^21.7.0",
"serve": "^14.2.1",
"start-server-and-test": "^2.0.3"
-
}
}
diff --git a/webapp/src/App.js b/webapp/src/App.js
index 178c407..0de25d2 100644
--- a/webapp/src/App.js
+++ b/webapp/src/App.js
@@ -46,49 +46,28 @@ function App() {
}
export default App; */
-import React, { useState } from 'react';
-import AddUser from './components/AddUser';
+import React from 'react';
+import GenerateQuestion from './components/GenerateQuestion'; // Asegúrate de importar GenerateQuestion correctamente
import Login from './components/Login';
import CssBaseline from '@mui/material/CssBaseline';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
-import Link from '@mui/material/Link';
+import Footer from './components/Footer';
function App() {
-
-
- const [showLogin, setShowLogin] = useState(true);
-
- const handleToggleView = () => {
- setShowLogin(!showLogin);
- };
-
return (
-
-
- wiq_es04c
- {showLogin ? : }
- {showLogin ? (
-
- Don't have an account? Register here.
-
- ) : (
-
- Already have an account? Login here.
-
- )}
-
+ Welcome to the 2024 edition of the Software Architecture course
{/* Aquí se muestra el componente GenerateQuestion */}
-
+
+
);
-
}
export default App;
diff --git a/webapp/src/App.test.js b/webapp/src/App.test.js
index 85a0c1c..5e3b731 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(/wiq_es04c/i);
+ const linkElement = screen.getByText(/Welcome to the 2024 edition of the Software Architecture course/i);
expect(linkElement).toBeInTheDocument();
});
diff --git a/webapp/src/index.js b/webapp/src/index.js
index 4ac7ec6..efa143b 100644
--- a/webapp/src/index.js
+++ b/webapp/src/index.js
@@ -5,8 +5,6 @@ import App from './App';
import reportWebVitals from './reportWebVitals';
/*funcion q representa la barra de navegacion superior*/
import Navbar from './components/NavBar';
-import Footer from './components/Footer';
-
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
@@ -16,9 +14,6 @@ root.render(
-
-
-
);