Skip to content

Commit

Permalink
add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sabujhasansarker committed Jun 10, 2020
1 parent cccc215 commit c539281
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const App = () => {
)}
<div className={`right ${toggle === "right" && "rightOpen"}`}>
<RightSide />

{toggle === "right" && (
<div className="rightScreen" onClick={() => setToggle()}>
<img
Expand Down
8 changes: 8 additions & 0 deletions src/components/sideBar/rightSide/RightSide.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ const RightSide = () => {
const { setCv, cv } = useContext(DataContext);
return (
<div className="all_cv">
<div></div>
<a
href="https://github.com/sabujhasansarker"
target="_blank"
rel="noopener noreferrer"
>
<img src="https://bit.ly/3cQRiNO" alt="" className="icon_img" />
</a>
<img
className={`cv_img ${cv === "sabuj" && "active"}`}
onClick={() => setCv("sabuj")}
Expand Down
15 changes: 15 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ img.cv_img {
word-break: break-all;
width: 170px;
}
img.icon_img {
width: 45px;
display: flex;
float: right;
margin-right: 20px;
}
img.printer_img {
position: fixed;
top: 50%;
Expand Down Expand Up @@ -225,6 +231,15 @@ p {
width: unset;
display: block;
}
img.icon_img {
width: 45px;
display: flex;
float: right;
margin-right: 20px;
display: block;
float: none;
margin-bottom: 20px;
}
}

.leftOpen {
Expand Down

0 comments on commit c539281

Please sign in to comment.