From 02725dfa2c2c77bd36cabf9eb8005402a5e53eef Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 2 Jun 2026 12:38:04 +0200 Subject: [PATCH] feat(ui): mejorar la estructura y estilos en el Footer y LandingPage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se ajustan los estilos y la estructura del componente Footer para mejorar la presentación y la alineación de los elementos. Además, se modifica el texto en LandingPage para una mejor claridad en la comunicación. Se optimizan las clases de Tailwind para una mejor responsividad y experiencia de usuario. --- .../dashboard/PublicationsTable.jsx | 108 +++++++++++------- frontend/src/components/layout/Footer.jsx | 18 +-- frontend/src/pages/GroupResultsPage.jsx | 10 +- frontend/src/pages/LandingPage.jsx | 2 +- 4 files changed, 87 insertions(+), 51 deletions(-) diff --git a/frontend/src/components/dashboard/PublicationsTable.jsx b/frontend/src/components/dashboard/PublicationsTable.jsx index f294b50..7142cd8 100644 --- a/frontend/src/components/dashboard/PublicationsTable.jsx +++ b/frontend/src/components/dashboard/PublicationsTable.jsx @@ -271,7 +271,8 @@ export function PublicationsTable({ }`} > - Filtros + Filtros + Filtros avanzados {hasYearFilter && ( -
- - ({ - value: String(y), - label: String(y), - }))} - className="w-full" - /> +
+

+ Filtrar por año de publicación +

+ {yearFilterSummary && ( + + {yearFilterSummary} + + )}
-
- - ({ - value: String(y), - label: String(y), - }))} - className="w-full" - /> + +
+
+ + ({ + value: String(y), + label: String(y), + }))} + className="w-full" + /> +
+ +
+ — +
+ +
+ + ({ + value: String(y), + label: String(y), + }))} + className="w-full" + /> +
+ + {hasYearFilter && ( + + )}
+ {hasYearFilter && ( diff --git a/frontend/src/components/layout/Footer.jsx b/frontend/src/components/layout/Footer.jsx index eb9b709..04d29aa 100644 --- a/frontend/src/components/layout/Footer.jsx +++ b/frontend/src/components/layout/Footer.jsx @@ -6,11 +6,11 @@ export default function Footer() {
{/* Main row */} -
+
{/* Brand */} -
-
+
+
ORCID2SWORD @@ -19,16 +19,16 @@ export default function Footer() {

- Sincronización de publicaciones ORCID al repositorio institucional. + Extracción y preparación de publicaciones ORCID para repositorios académicos.

{/* Compatible con */}
- + Compatible con -
+
{technologies.map((tech) => ( {/* Institutional links */} -
+
{/* Universidad de Jaén */}
@@ -65,7 +65,7 @@ export default function Footer() {
diff --git a/frontend/src/pages/GroupResultsPage.jsx b/frontend/src/pages/GroupResultsPage.jsx index 613de83..68c1a46 100644 --- a/frontend/src/pages/GroupResultsPage.jsx +++ b/frontend/src/pages/GroupResultsPage.jsx @@ -214,6 +214,14 @@ export function GroupResultsPage() {
+ + + Volver al inicio + + {/* Page header */}
@@ -282,7 +290,6 @@ export function GroupResultsPage() { swordProfile, ) } - swordProfile={swordProfile} /> ))}
@@ -343,7 +350,6 @@ function ResearcherResultCard({ isAuthenticated, exporting, onExport, - swordProfile, }) { const researcher = bundle.researcher ?? {}; const publications = bundle.publications ?? []; diff --git a/frontend/src/pages/LandingPage.jsx b/frontend/src/pages/LandingPage.jsx index 8a9ce27..f26d92f 100644 --- a/frontend/src/pages/LandingPage.jsx +++ b/frontend/src/pages/LandingPage.jsx @@ -221,7 +221,7 @@ export function LandingPage() { Tus publicaciones, listas para depositar.

- Conecta tu ORCID y descárgalas en XML cuando quieras. + Conecta tu ORCID y descárgalas cuando quieras.