Trabajo de ajuste en widgets y db para frontend

This commit is contained in:
2025-08-29 09:54:22 -03:00
parent 55954e18a7
commit 1ed9a49a53
93 changed files with 10259 additions and 609 deletions

View File

@@ -0,0 +1,17 @@
// src/App.tsx
import { useAuth } from './context/AuthContext';
import { LoginPage } from './components/LoginPage';
import { DashboardPage } from './components/DashboardPage';
import './App.css'; // Puede añadir estilos globales aquí
function App() {
const { isAuthenticated } = useAuth();
return (
<div className="App">
{isAuthenticated ? <DashboardPage /> : <LoginPage />}
</div>
);
}
export default App;