From 04a8035187a00de5079302b6f69e0901420a0d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=B6rpel?= Date: Mon, 25 Mar 2024 14:23:41 +0100 Subject: [PATCH] Tweak HomeScreen --- ui/src/screens/HomeScreen/HomeScreen.jsx | 98 +++++++---------------- ui/src/screens/HomeScreen/HomeScreen.scss | 19 +++++ 2 files changed, 48 insertions(+), 69 deletions(-) diff --git a/ui/src/screens/HomeScreen/HomeScreen.jsx b/ui/src/screens/HomeScreen/HomeScreen.jsx index a8e679e127..76e17840da 100644 --- a/ui/src/screens/HomeScreen/HomeScreen.jsx +++ b/ui/src/screens/HomeScreen/HomeScreen.jsx @@ -1,6 +1,7 @@ import _ from 'lodash'; import React, { Component } from 'react'; import ReactMarkdown from 'react-markdown'; +import { Link } from 'react-router-dom'; import rehypeRaw from 'rehype-raw'; import { Navigate } from 'react-router-dom'; import queryString from 'query-string'; @@ -35,7 +36,7 @@ const messages = defineMessages({ }, placeholder: { id: 'home.placeholder', - defaultMessage: 'Try searching: {samples}', + defaultMessage: 'Pruebe buscar: {samples}', }, count_entities: { id: 'home.counts.entities', @@ -130,74 +131,33 @@ export class HomeScreen extends Component { )}
-

- -

-
-
- - } - statistic={statistics.schemata} - isPending={statistics.isPending} - itemLink={(value) => ({ - pathname: 'search', - search: queryString.stringify({ 'filter:schema': value }), - })} - itemLabel={(name) => ( - - )} - /> -
-
- - } - statistic={statistics.categories} - isPending={statistics.isPending} - itemLink={(value) => ({ - pathname: 'datasets', - search: queryString.stringify({ - 'collectionsfilter:category': value, - }), - })} - itemLabel={(name) => } - /> -
-
- - } - statistic={statistics.countries} - isPending={statistics.isPending} - itemLink={(value) => ({ - pathname: 'datasets', - search: queryString.stringify({ - 'collectionsfilter:countries': value, - }), - })} - itemLabel={(name) => } - /> -
-
+

+ + cubainvestiga@proyectoinventario.org + +

+

+ pgp:{' '} + + 0x43E689E22CC902F4 + +

+

+ Una herramienta de{' '} + + Proyecto Inventario + +

+

+ Desarrollado por{' '} + investigativedata.io +

+

+ Más información +

diff --git a/ui/src/screens/HomeScreen/HomeScreen.scss b/ui/src/screens/HomeScreen/HomeScreen.scss index bbe2159af7..4e6131b322 100644 --- a/ui/src/screens/HomeScreen/HomeScreen.scss +++ b/ui/src/screens/HomeScreen/HomeScreen.scss @@ -58,6 +58,10 @@ $vertical-spacing: $aleph-grid-size * 5; b { color: white; } + + a { + color: white; + } } &:nth-child(odd) { background-color: $light-gray5; @@ -106,6 +110,21 @@ $vertical-spacing: $aleph-grid-size * 5; margin: 0 0 $vertical-spacing * 0.5; text-align: left; line-height: 1.5; + + &--center { + text-align: center; + padding-bottom: $vertical-spacing * 0.3; + + a { + text-decoration: underline; + } + } + } + + &__mailto { + font-size: 18px; + font-weight: bold; + text-decoration: none !important; } &__search {