From 53f4468a7d6d73dd73197ac84b0869194315f61b Mon Sep 17 00:00:00 2001 From: yagonavajas Date: Mon, 25 Mar 2024 14:19:35 +0100 Subject: [PATCH] cambiado nombre de la aplicacion en el navegador --- webapp/public/manifest.json | 4 ++-- webapp/src/App.js | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/webapp/public/manifest.json b/webapp/public/manifest.json index fc7ce89..199da77 100644 --- a/webapp/public/manifest.json +++ b/webapp/public/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "WIQ", + "name": "WIQ 04 d ASW ", "icons": [ { "src": "favicon.ico", diff --git a/webapp/src/App.js b/webapp/src/App.js index 88bb539..fb36455 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useEffect } from 'react' import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; // Asegúrate de importar el nuevo componente Layout import Home from './components/pages/Home'; @@ -12,7 +12,12 @@ import AboutUS from "./components/pages/AboutUS"; import Error404Page from "./components/pages/Error404Page"; function App() { + useEffect(() => { + document.title = "WIQ"; // Titulo de la paginma + }, []); + return ( + {/* Envolver con AuthProvider */}