Skip to content

Commit

Permalink
pequeño error de transformPub corregido, arreglado badge fechas
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Nov 4, 2024
1 parent 11deac6 commit b29592d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3,790 deletions.
9 changes: 7 additions & 2 deletions components/core/Cards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ const Card = React.forwardRef(
>
<CardHeader>
<Badge variant="outline" size="lg">
{date}
{date && date[0]}

</Badge>
{translateCategory(category, currentLang)}
</CardHeader>
Expand All @@ -229,9 +230,13 @@ const Card = React.forwardRef(
</Button>
) : null}
</CardFooter>

{console.log(date && date[0])}

</CustomCard>

);

// TEAM - ok
const teamCard = (
<CustomCard
Expand Down
3 changes: 2 additions & 1 deletion constants/langs/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ export const en = {
"fieldOpt2":"Conference proceedings",
"fieldOpt3":"Book",
"fieldOpt4":"Chapter",
"fieldOpt5":"All",
"fieldOpt5":"Document",
"fieldOpt6":"All",
"text":"Results"
},
"button": "Read publication",
Expand Down
3 changes: 2 additions & 1 deletion constants/langs/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ export const es = {
"fieldOpt2":"Actas de congreso",
"fieldOpt3":"Libros",
"fieldOpt4":"Capítulos",
"fieldOpt5":"Todo",
"fieldOpt5":"Documento",
"fieldOpt6":"Todo",
"text":"Resultados"
},
"button": "Leer publicación",
Expand Down
Loading

0 comments on commit b29592d

Please sign in to comment.