diff --git a/app/about/page.js b/app/about/page.js index eaf143a..639e0d4 100644 --- a/app/about/page.js +++ b/app/about/page.js @@ -76,7 +76,7 @@ export default function About() { {t("about.Columns.sectionTitle")}
-
+
{t("about.Columns.Column1.Title")} diff --git a/app/contact/page.js b/app/contact/page.js index 316c14c..81bcae0 100644 --- a/app/contact/page.js +++ b/app/contact/page.js @@ -29,7 +29,7 @@ export default function Contact(props) {
-
    +
    • @@ -56,7 +56,7 @@ export default function Contact(props) {
-
  • +
  • diff --git a/app/research/page.js b/app/research/page.js index 196e901..08a12cc 100644 --- a/app/research/page.js +++ b/app/research/page.js @@ -6,7 +6,7 @@ import Link from "next/link"; import { mypublications } from "@/constants/publications"; import { useTranslation } from "react-i18next"; -import { Card, CardVariants } from "@/components/core/CustomCards"; +import { Card, CardVariants } from "@/components/core/Cards"; import { Button, ButtonVariants } from "@/components/ui/button"; import Heading from "@/components/ui/Heading"; import Text from "@/components/ui/Text"; diff --git a/app/team/page.js b/app/team/page.js index e34dffa..37df2b2 100644 --- a/app/team/page.js +++ b/app/team/page.js @@ -8,7 +8,7 @@ import { useTranslation } from "react-i18next"; import { Button } from "@/components/ui/button"; import Heading from "@/components/ui/Heading"; import Text from "@/components/ui/Text"; -import { Card, CardVariants } from "@/components/core/CustomCards"; +import { Card, CardVariants } from "@/components/core/Cards"; import { CardStackIcon } from "@radix-ui/react-icons"; diff --git a/components/core/Cards.jsx b/components/core/Cards.jsx index 3741997..8444c79 100644 --- a/components/core/Cards.jsx +++ b/components/core/Cards.jsx @@ -48,17 +48,9 @@ const renderTags = (tags) => { if (!tags) return null; const tagsArray = tags.split(",").map((tag) => tag.trim()); // Convierte el string en array y elimina espacios return tagsArray.map((tag, index) => ( - {tag} // Añade una key a cada Label + {tag} // Añade una key a cada Label )); }; -// currentLang -// const translateCategory = (category, currentLang) => { -// switch (es) { -// case "Naranjas": -// // transformar article-journal en "Artículo de revista" -// break; - -// }} // quitarle guión, añadir espaciado, mayúscula (Formateo) const renderCategory = (category) => { @@ -236,7 +228,7 @@ const Card = React.forwardRef( // PUBLICATIONS - ok const publicationCard = ( -
    +
    {date} @@ -269,7 +261,7 @@ const Card = React.forwardRef( const teamCard = (
    {(img || svg) && ( diff --git a/components/core/Footer.jsx b/components/core/Footer.jsx index 027f607..f65db9e 100644 --- a/components/core/Footer.jsx +++ b/components/core/Footer.jsx @@ -6,7 +6,8 @@ import Link from "next/link"; import { useTranslation } from "react-i18next"; import { routes } from "@/constants/routes"; import { EnvelopeClosedIcon } from "@radix-ui/react-icons"; -import Image from "../ui/image-old"; +import Image from "../ui/image"; +import Text from "../ui/Text"; export default function Footer(props) { const { t } = useTranslation(); @@ -24,30 +25,33 @@ export default function Footer(props) { ); const sectionTitleClasses = clsx( - "text-white smallcaps text-left mb-2 text-[14px] font-bold" + "smallcaps text-left mb-2 text-[14px] font-bold" ); return ( -