Skip to content

Commit

Permalink
updated ui images
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyajit4419 committed Jun 26, 2022
1 parent c69951b commit 3f14c39
Show file tree
Hide file tree
Showing 13 changed files with 1,027 additions and 16 deletions.
1,005 changes: 1,005 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@react-pdf/renderer": "^2.2.0",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
Expand Down
Binary file removed src/Assets/Projects/algo.png
Binary file not shown.
Binary file modified src/Assets/Projects/blog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Assets/Projects/chatify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Assets/Projects/codeEditor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/Assets/Projects/emotion.jpeg
Binary file not shown.
Binary file added src/Assets/Projects/emotion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Assets/Projects/leaf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/Assets/Projects/plant.jpeg
Binary file not shown.
Binary file modified src/Assets/Projects/suicide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 20 additions & 15 deletions src/components/Projects/ProjectCards.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from "react";
import Card from "react-bootstrap/Card";
import Button from "react-bootstrap/Button";
import { BiLinkExternal } from "react-icons/bi";
import { CgWebsite } from "react-icons/cg";
import { BsGithub } from "react-icons/bs";

function ProjectCards(props) {
return (
Expand All @@ -12,22 +13,26 @@ function ProjectCards(props) {
<Card.Text style={{ textAlign: "justify" }}>
{props.description}
</Card.Text>
<Button variant="primary" href={props.ghLink} target="_blank">
<BiLinkExternal /> &nbsp;
{props.isBlog ? "View Blog" : "View GitHub"}
</Button>
{'\n'}
{'\n'}
<Button variant="primary" href={props.ghLink} target="_blank">
<BsGithub /> &nbsp;
{props.isBlog ? "Blog" : "GitHub"}
</Button>
{"\n"}
{"\n"}

{/* If the component contains Demo link and if it's not a Blog then, it will render the below component */}
{/* If the component contains Demo link and if it's not a Blog then, it will render the below component */}

{!props.isBlog && props.demoLink &&
<Button variant="primary" href={props.demoLink} target="_blank">
<BiLinkExternal /> &nbsp;
{"View Demo"}
</Button>
}

{!props.isBlog && props.demoLink && (
<Button
variant="primary"
href={props.demoLink}
target="_blank"
style={{ marginLeft: "10px" }}
>
<CgWebsite /> &nbsp;
{"Demo"}
</Button>
)}
</Card.Body>
</Card>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Container, Row, Col } from "react-bootstrap";
import ProjectCard from "./ProjectCards";
import Particle from "../Particle";
import leaf from "../../Assets/Projects/leaf.png";
import emotion from "../../Assets/Projects/emotion.jpeg";
import emotion from "../../Assets/Projects/emotion.png";
import editor from "../../Assets/Projects/codeEditor.png";
import chatify from "../../Assets/Projects/chatify.png";
import suicide from "../../Assets/Projects/suicide.png";
Expand Down

0 comments on commit 3f14c39

Please sign in to comment.