From 2623131185dee86414820d95a3088a6d679b25bf Mon Sep 17 00:00:00 2001 From: lauralog Date: Mon, 14 Oct 2024 14:50:24 +0200 Subject: [PATCH] ajustes y correcciones --- app/layout.js | 2 +- app/team/page.js | 4 ++-- components/core/Cards.jsx | 18 +++++++++--------- components/ui/Heading.jsx | 16 +++++++--------- components/ui/badge.jsx | 9 ++++----- components/ui/customCard.jsx | 6 +++--- tailwind.config.js | 17 +++++++++-------- 7 files changed, 35 insertions(+), 37 deletions(-) diff --git a/app/layout.js b/app/layout.js index 4478257..e2252eb 100644 --- a/app/layout.js +++ b/app/layout.js @@ -25,7 +25,7 @@ const sourceSans = Source_Sans_3({ }); const inter = Inter({ subsets: ["latin"], - weight: ["400", "700"], + weight: ["400", "500", "600", "700", "800"], variable: "--font-inter", }); diff --git a/app/team/page.js b/app/team/page.js index cc84f59..4cbcb74 100644 --- a/app/team/page.js +++ b/app/team/page.js @@ -59,8 +59,8 @@ export default function Team(props) {
{/*
*/}
- {t("team.title")} -
+ {t("team.title")} +
{/*
*/} {team["UPM Team"]?.members ? renderMembers(team["UPM Team"].members) :

No members found.

}
diff --git a/components/core/Cards.jsx b/components/core/Cards.jsx index de50ecc..1757b8e 100644 --- a/components/core/Cards.jsx +++ b/components/core/Cards.jsx @@ -32,7 +32,7 @@ import { import Link from "next/link"; const CardVariants = cva( - "border min-w-20 p-4 inline-flex flex-col gap-4 items-center justify-between whitespace-nowrap rounded-md font-body text-sm text-text drop-shadow-md hover:scale-[101%] transition-all overflow-hidden", + "border border-primary min-w-20 p-4 inline-flex flex-col gap-4 items-center whitespace-nowrap rounded-md font-body text-sm text-text drop-shadow-md hover:scale-[101%] transition-all overflow-hidden", { variants: { direction: { @@ -146,14 +146,14 @@ const Card = React.forwardRef( {title} - {subtitle} + {subtitle} {description && {description}}
{renderTags(tags)}
-
+ {" "} {/**revisar el href que no funciona el link */} -
+ ); @@ -191,12 +191,12 @@ const Card = React.forwardRef( {translateCategory(category, currentLang)} - + {title} {author} - + {doi ? (