Skip to content

Commit a0a3bec

Browse files
authored
Merge pull request #104 from NdibeRaymond/add-support-for-other-code-hosting-platforms
added support for other code hosting platforms #102
2 parents 66371b7 + 283b211 commit a0a3bec

File tree

5 files changed

+97
-96
lines changed

5 files changed

+97
-96
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ build
1414
.env
1515
npm-debug.log
1616
package-lock.json
17+
yarn-error.log

src/components/ProjectList/CardsContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default class CardsContainer extends React.Component {
139139
key={key}
140140
name={item.name}
141141
logoLink={item.imageSrc}
142-
githubLink={item.githubLink}
142+
projectLink={item.projectLink}
143143
description={item.description}
144144
tags={item.tags}
145145
/>

src/components/ProjectList/ProjectCards.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ it('renders a project card', () => {
77
<Card
88
name='Awesome Project'
99
logoLink='http://awesome-project.com/logo.jpg'
10-
githubLink='https://github.com/awesome-project'
10+
projectLink='https://github.com/awesome-project'
1111
description='Simply awesome Project'
1212
/>
1313
).toJSON();

src/components/ProjectList/ProjectsCards.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default class Card extends React.Component {
1010

1111
return (
1212
<div className="Card-Container">
13-
<a className="Card-Real-Link" href={this.props.githubLink}>
13+
<a className="Card-Real-Link" href={this.props.projectLink}>
1414
<div className="Card-Header">
1515
<img className="Project-Logo"
1616
alt="the framework or language that the project is build upon"

0 commit comments

Comments
 (0)