Skip to content

Commit 2cfbff6

Browse files
committed
Render published info in article
1 parent 49cbcd7 commit 2cfbff6

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

src/components/paper.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ import {
99
Stack,
1010
} from '@chakra-ui/react'
1111

12-
export const Paper = ({ title, authors, link, abstract, number }) => {
12+
export const Paper = ({
13+
title,
14+
published_info,
15+
authors,
16+
link,
17+
abstract,
18+
number,
19+
}) => {
1320
return (
1421
<AccordionItem
1522
my={4}
@@ -26,6 +33,9 @@ export const Paper = ({ title, authors, link, abstract, number }) => {
2633
{title}
2734
</Box>
2835
<Box textAlign='left'>{authors}</Box>
36+
<Box as='i' textAlign='left'>
37+
{published_info}
38+
</Box>
2939
<Link textAlign='left' href={link} color='blue.500' isExternal>
3040
View paper
3141
</Link>

src/pages/papers-citing-parcels.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const PapersCitingParcels = () => {
127127
{papersCitingParcels.reverse().map((paper, index, array) => (
128128
<Paper
129129
key={paper.title}
130+
published_info={paper.published_info}
130131
title={paper.title}
131132
authors={paper.authors}
132133
doi={paper.doi}

0 commit comments

Comments
 (0)