This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
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 #71 from remrobem/dev
#68 Sponsor cards
- Loading branch information
Showing
12 changed files
with
6,698 additions
and
3,281 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
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,37 @@ | ||
import PropTypes from 'prop-types' | ||
|
||
const Sponsor = props => { | ||
return ( | ||
<div className="card sponsor-card"> | ||
<div className="card-image"> | ||
<figure className="image is-256x256"> | ||
<img | ||
src={`../static/sponsors/${props.sponsor.image}`} | ||
alt={props.sponsor.name} | ||
></img> | ||
</figure> | ||
</div> | ||
<div className="card-content"> | ||
<div className="columns"> | ||
<div className="column"> | ||
<p className="title is-3">{props.sponsor.name}</p> | ||
<p className="title is-5"> | ||
<a href={props.sponsor.url}>{props.sponsor.url}</a> | ||
</p> | ||
</div> | ||
</div> | ||
<div className="content">{props.sponsor.description}</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
Sponsor.propTypes = { | ||
sponsor: PropTypes.object.isRequired, | ||
name: PropTypes.string.isRequired, | ||
url: PropTypes.string.isRequired, | ||
image: PropTypes.string.isRequired, | ||
description: PropTypes.string.isRequired, | ||
} | ||
|
||
export default Sponsor |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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,21 @@ | ||
[ | ||
{ | ||
"name": "IBM", | ||
"url": "https://www.ibm.com", | ||
"image": "IBM.png", | ||
"description": "IBMers believe in progress — that the application of intelligence, reason and science can improve business, society and the human condition." | ||
}, | ||
|
||
{ | ||
"name": "HQ Greensboro", | ||
"url": "https://hqgreensboro.com", | ||
"image": "HQGreensboro.png", | ||
"description": "HQ Greensboro is a shared workspace designed to empower, foster, and cultivate businesses that produce long-term job growth and positive social impact. We address two challenges that entrepreneurs face: building a trusted support community and gaining access to flexible, affordable office space." | ||
}, | ||
{ | ||
"name": "Allegacy", | ||
"url": "https://www.allegacy.org", | ||
"image": "Allegacy.jpg", | ||
"description": "As a credit union, Allegacy is member-owned and not-for-profit. We offer lower fees and higher earnings than you’d find at a bank. Allegacy has been helping members pursue wellness of mind, body and wallet since 1967." | ||
} | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
0fa2b4d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: