-
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 #87 from torendo/lovelace-card
Added Ada Lovelace card
- Loading branch information
Showing
4 changed files
with
58 additions
and
0 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,27 @@ | ||
import React from "react"; | ||
import './lovelaceCard.scss' | ||
import image from "./lovelace.png"; | ||
|
||
function LovelaceCard() { | ||
return ( | ||
<div className="lovelaceCardContainer"> | ||
<div className="card"> | ||
<img className="imageContainer" src={image} alt="lovelace-profile"/> | ||
</div> | ||
<div className="card-info"> | ||
<h3 className="name-h3">Ada Lovelace</h3> | ||
<p className="text-blue">The first computer programmer</p> | ||
<a | ||
rel="noreferrer" | ||
className="social-link" | ||
target="_blank" | ||
href="https://en.wikipedia.org/wiki/Ada_Lovelace" | ||
> | ||
Wikipedia | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default LovelaceCard; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.lovelaceCardContainer { | ||
background-image: linear-gradient(315deg, #ffffff 0%, #ecdbc9 34%); | ||
display: flex; | ||
height: 100%; | ||
padding: 2rem 1rem; | ||
} | ||
|
||
.lovelaceCardContainer .card img { | ||
box-shadow: -5px 3px 0 5px #e2a860; | ||
} | ||
|
||
.name-h3 { | ||
color: rgb(176, 68, 0); | ||
} | ||
|
||
.social-link { | ||
background-color: #E2A860; | ||
margin-right: 5px; | ||
color: #000; | ||
border: solid 1px gray; | ||
padding: 5px; | ||
border-radius: 10px; | ||
} | ||
|
||
.text-blue { | ||
color: rgb(29, 50, 89); | ||
} |
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