add links to modeing hub cards

This commit is contained in:
Emi Matchu 2020-09-06 23:51:51 -07:00
parent 1cc4d718a5
commit 6a923a55a0

View file

@ -60,7 +60,15 @@ function ItemModelsList() {
function ItemModelCard({ item, ...props }) { function ItemModelCard({ item, ...props }) {
return ( return (
<Box p="2" boxShadow="lg" borderRadius="lg" width="400px" {...props}> <Box
as="a"
href={`https://impress.openneo.net/items/${item.id}`}
p="2"
boxShadow="lg"
borderRadius="lg"
width="400px"
{...props}
>
<ItemSummary item={item} badges={<ItemModelBadges item={item} />} /> <ItemSummary item={item} badges={<ItemModelBadges item={item} />} />
</Box> </Box>
); );