Skip to content

Commit 8ccb318

Browse files
committed
Enable visit link on project component
1 parent 36f0137 commit 8ccb318

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/components/Projects/ProjectCards.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import Card from "react-bootstrap/Card";
3-
//import Button from "react-bootstrap/Button";
4-
//import { CgWebsite } from "react-icons/cg";
3+
import Button from "react-bootstrap/Button";
4+
import { CgArrowRight } from "react-icons/cg";
55
//import { BsGithub } from "react-icons/bs";
66

77
function ProjectCards(props) {
@@ -20,21 +20,19 @@ function ProjectCards(props) {
2020
{"\n"}
2121
{"\n"}
2222

23-
{/* If the component contains Demo link and if it's not a Blog then, it will render the below component */}
24-
2523
{!props.isBlog && props.demoLink && (
26-
{/* <Button
24+
<Button
2725
variant="primary"
2826
href={props.demoLink}
2927
target="_blank"
3028
style={{ marginLeft: "10px" }}
3129
>
32-
<CgWebsite /> &nbsp;
33-
{"Demo"}
34-
</Button> */}
30+
<CgArrowRight /> &nbsp;
31+
{"Visit"}
32+
</Button>
3533
)}
3634
</Card.Body>
3735
</Card>
3836
);
3937
}
40-
export default ProjectCards;
38+
export default ProjectCards;

0 commit comments

Comments
 (0)