diff --git a/src/Components/AreasSubPages.js b/src/Components/AreasSubPages.js index a2db47d20ecf0b23d75dbdc292a9ee36641779d5..9fcbe7f6071fd65f87df571ff11e33a6866af0c7 100644 --- a/src/Components/AreasSubPages.js +++ b/src/Components/AreasSubPages.js @@ -167,7 +167,7 @@ class ReqCollections extends Component { thumbnails={card.items_thumbnails} avatar={card.owner.avatar} likeCount={card.likes_count} - + id={card.id} /> </Col> ))} @@ -184,6 +184,7 @@ class ReqCollections extends Component { thumbnails={card.items_thumbnails} avatar={card.owner.avatar} likeCount={card.likes_count} + id={card.id} /> </Col> @@ -201,7 +202,8 @@ class ReqCollections extends Component { thumbnails={card.items_thumbnails} avatar={card.owner.avatar} likeCount={card.likes_count} - + id={card.id} + /> </Col> ))} diff --git a/src/Components/CollectionCardFunction.js b/src/Components/CollectionCardFunction.js index e34339552a426468b419b47258ec2d94de3a879a..eeb2023470f7efe6a84552b0d3abf6faf9487d68 100644 --- a/src/Components/CollectionCardFunction.js +++ b/src/Components/CollectionCardFunction.js @@ -161,11 +161,12 @@ export default function CollectionCardFunction (props) { {/*slide animation and content*/} <Slide direction="right" in={slideIn} timeout={300}> <Link to={"/colecao-do-usuario/" + props.id} className="text"> + {/* <a href={"/colecao-do-usuario/" + props.id} className="text"> */} {SlideAnimationContent()} </Link> </Slide> <Slide direction="left" in={!slideIn} timeout={700}> - <a href=""> {/*add links to collection later*/} + <a href={"/colecao-do-usuario/" + props.id}> <UserInfo> <AvatarDiv> diff --git a/src/Components/TabPanels/PublicUserPageTabs/LastCollections.js b/src/Components/TabPanels/PublicUserPageTabs/LastCollections.js index 495a5e2df68e3dc2892fc0813db88bfa9fab7593..adbb081b52b6539ef10ce85b685c4831f03aa1eb 100644 --- a/src/Components/TabPanels/PublicUserPageTabs/LastCollections.js +++ b/src/Components/TabPanels/PublicUserPageTabs/LastCollections.js @@ -49,6 +49,7 @@ export default function LastCols (props) { liked={card.liked} followed={card.followed} tags={card.tags} + id={card.id} /> </Grid> ) diff --git a/src/Components/TabPanels/PublicUserPageTabs/TabColecoes.js b/src/Components/TabPanels/PublicUserPageTabs/TabColecoes.js index 2ab49230b9c737d3468b9645cf9786fd29e07510..d7d1ddac544dd65b4943b925a3ce03fea4b3ec62 100644 --- a/src/Components/TabPanels/PublicUserPageTabs/TabColecoes.js +++ b/src/Components/TabPanels/PublicUserPageTabs/TabColecoes.js @@ -45,6 +45,7 @@ export default function TabRecursos (props) { liked={card.liked} followed={card.followed} tags={card.tags} + id={card.id} /> </Grid> ) diff --git a/src/Pages/Search.js b/src/Pages/Search.js index 4f6a2fb0acbd0a42313a227d776eb89cc806fad1..288d6d6ac9125aff5f0b4a8ad610ef046ae900a4 100644 --- a/src/Pages/Search.js +++ b/src/Pages/Search.js @@ -249,7 +249,8 @@ export default function Search(props) { thumbnails={card.items_thumbnails} avatar={card.owner.avatar} likeCount={card.likes_count} - + + id={card.id} /> </Grid> ))}