From e4b7ffaf42e2c7635e7e7c9547d0c162113dbffa Mon Sep 17 00:00:00 2001 From: Zohaib Akhtar Kausar Date: Sun, 31 Mar 2024 21:11:54 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20vista=20About=20US=20y=20cabiado?= =?UTF-8?q?=20ruta=20en=20App?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/src/App.js | 4 +-- webapp/src/components/Navbar.js | 37 +++++++++++++++----------- webapp/src/components/pages/AboutUS.js | 10 +++---- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/webapp/src/App.js b/webapp/src/App.js index fb36455..93e9c85 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -4,8 +4,8 @@ import Layout from './components/Layout'; // Asegúrate de importar el nuevo com import Home from './components/pages/Home'; import Historial from './components/pages/Historial'; import Jugar from './components/pages/Jugar'; -import SignUp from './components/AddUser'; -import LogIn from './components/Login'; +import SignUp from './components/pages/AddUser'; +import LogIn from './components/pages/Login'; import { AuthProvider } from './AuthContext'; import Logout from "./components/Logout"; import AboutUS from "./components/pages/AboutUS"; diff --git a/webapp/src/components/Navbar.js b/webapp/src/components/Navbar.js index 87f4430..142558d 100644 --- a/webapp/src/components/Navbar.js +++ b/webapp/src/components/Navbar.js @@ -26,24 +26,31 @@ function Navbar() { {isLoggedIn ? ( <> -
  • - Jugar -
  • -
  • - Historial -
  • -
  • - Salir -
  • + +
  • + Jugar +
  • +
  • + Historial +
  • +
  • + About US +
  • +
  • + Salir +
  • ) : ( <> -
  • - Registrarse -
  • -
  • - Entrar -
  • +
  • + About US +
  • +
  • + Registrarse +
  • +
  • + Entrar +
  • )} diff --git a/webapp/src/components/pages/AboutUS.js b/webapp/src/components/pages/AboutUS.js index 0d5b2a6..8b38e36 100644 --- a/webapp/src/components/pages/AboutUS.js +++ b/webapp/src/components/pages/AboutUS.js @@ -14,14 +14,14 @@ function AboutUS() { src='images/design.jpg' // Asegúrate de cambiar esta imagen por una representativa del diseño gráfico text='Estudiantes innovadores que transformaron la visión del proyecto con su diseño gráfico.' label='Diseño Gráfico' - path='/areas/diseno-grafico' + path='https://arquisoft.github.io/wiq_es04d/' /> {/* Lógica de API de Wikidata */}