-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from KesineeP/main
Issue#4/create-your-card
- Loading branch information
Showing
4 changed files
with
100 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "react"; | ||
import "./kesineeCard.scss"; | ||
import image from "./kesinee_headshot.png"; | ||
|
||
function KesineeCard() { | ||
return ( | ||
<div className="cardContainer"> | ||
<div className="card"> | ||
<img className="imageContainer" src={image} alt="kesinee's headshot" /> | ||
</div> | ||
|
||
<div className="card"> | ||
<h3>Kesinee Powers</h3> | ||
<p>Front-End Web Developer</p> | ||
<p>[email protected]</p> | ||
|
||
<a | ||
rel="noreferrer" | ||
className="link" | ||
target="_blank" | ||
href="https://www.linkedin.com/in/kesineepowers/" | ||
> | ||
{"LinkedIn"} | ||
</a> | ||
<a | ||
rel="noreferrer" | ||
className="link" | ||
target="_blank" | ||
href="https://github.com/KesineeP" | ||
> | ||
{"GitHub"} | ||
</a> | ||
<a | ||
rel="noreferrer" | ||
className="link" | ||
target="_blank" | ||
href="https://kesineep.github.io/" | ||
> | ||
{"Portfolio"} | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default KesineeCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.cardContainer { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-template-rows: auto; | ||
align-items: center; | ||
} | ||
.card { | ||
margin: auto; | ||
text-align: center; | ||
} | ||
.imageContainer { | ||
width: 120px; | ||
height: auto; | ||
margin: auto; | ||
border-radius: 50%; | ||
} | ||
.link { | ||
padding: 5px 10px; | ||
margin: 0 5px 5px; | ||
background-color: rgb(47, 91, 72); | ||
box-shadow: 2px 2px 4px grey; | ||
border: none; | ||
border-radius: 5px; | ||
color: white; | ||
font-size: smaller; | ||
} | ||
.link:hover { | ||
background-color: rgb(222, 218, 218); | ||
color: cadetblue; | ||
text-decoration: none; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters