diff --git a/diplomas/src/components/app-sidebar.jsx b/diplomas/src/components/app-sidebar.jsx index d290e46..f5f4687 100644 --- a/diplomas/src/components/app-sidebar.jsx +++ b/diplomas/src/components/app-sidebar.jsx @@ -52,6 +52,15 @@ const data = { }, ], }, + { + title: "Competencias", + items: [ + { + title: "Vista de competencias", + url: "/competenciasVista", + } + ], + }, { title: "Diplomas", items: [ @@ -61,6 +70,7 @@ const data = { }, ], }, + ], }; diff --git a/diplomas/src/pages/cursosVista.jsx b/diplomas/src/pages/cursosVista.jsx index fa01d47..9d862c0 100644 --- a/diplomas/src/pages/cursosVista.jsx +++ b/diplomas/src/pages/cursosVista.jsx @@ -98,10 +98,10 @@ export default function CursosVista() { <table className="min-w-full bg-white border"> <thead> <tr className="bg-gray-100"> - <th className="py-2 border-b">ID</th> <th className="py-2 border-b">Nombre</th> <th className="py-2 border-b">Descripción</th> <th className="py-2 border-b">Horas</th> + <th className="py-2 border-b">Competencias</th> <th className="py-2 border-b">Acciones</th> </tr> </thead> @@ -146,10 +146,10 @@ export default function CursosVista() { </tr> ) : ( <tr key={curso.id}> - <td className="py-2 px-4 border-b">{curso.id}</td> <td className="py-2 px-4 border-b">{curso.nombre}</td> <td className="py-2 px-4 border-b">{curso.descripcion}</td> <td className="py-2 px-4 border-b">{curso.horas}</td> + <td className="py-2 px-4 border-b">{curso.competencias}</td> <td className="py-2 px-4 border-b space-x-2"> <Button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-1 px-3 rounded"