Skip to content

Commit

Permalink
Merge pull request #222 from goodgoof/feature/#159221467
Browse files Browse the repository at this point in the history
Feature/#159221467
  • Loading branch information
goodgoof authored Jul 26, 2018
2 parents 775fa1a + 7db6202 commit 1ae9900
Show file tree
Hide file tree
Showing 8 changed files with 1,680 additions and 2,683 deletions.
1 change: 1 addition & 0 deletions client/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class App extends Component {
<Route path='/landing-f' component={Footer} />
<Route path='/landing-e' component={LandingE} />
<Route path='/landing-d' component={LandingD} />
<Route path='/landing-f' component={Footer} />
<Route path='/show-applications' component={ApplicationsRestrictedLoadable} />
<Route path='/projects/:id' component={ProjectDetail} />
</Switch>
Expand Down
2 changes: 1 addition & 1 deletion client/components/Applications/ApplicationsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { connect } from 'react-redux'
import ApplicationActionCreator from '../../actions/application/'

class ApplicationsList extends Component {
componentWillReceiveProps (nextProps) {
UnsafeComponentWillReceiveProps (nextProps) {
this._markAsSeenApplications(nextProps.applications)
}

Expand Down
2 changes: 1 addition & 1 deletion client/components/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Home extends Component {
this.props.onLoad()
}

componentWillReceiveProps = (nextProps) => {
UnsafeComponentWillReceiveProps = (nextProps) => {
if (this.props.projects !== nextProps.projects) {
this.setState({filteredProjects: nextProps.projects})
}
Expand Down
32 changes: 32 additions & 0 deletions client/components/LandingE/LandingE.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $white: #fff;
img {
vertical-align: middle;
}

h1 {
color: $white;
text-align: center;
Expand Down Expand Up @@ -50,6 +51,36 @@ a.slack {
}
}

.slack{
margin-top:-15px;
font-size: 30px;
}

.slack, .github {
width: 369px;
height: 75px;
border-radius: 49.5px;

&:active,
&:hover,
&:focus {
background: $white;
}
}

a.slack {
background: $white;
width: 369px;
height: 75px;
border-radius: 49.5px;

&:active,
&:hover,
&:focus {
background: $white;
}
}

.slack{
margin-top:-15px;
}
Expand Down Expand Up @@ -80,4 +111,5 @@ a.slack {
text-align: left;
color: #000000;
padding-left: 10px;
color: #000000
}
2 changes: 1 addition & 1 deletion client/components/Restricted/Restricted.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function (BaseComponent) {
this.checkAuthentication(this.props)
}

componentWillReceiveProps (nextProps) {
UnsafeComponentWillReceiveProps (nextProps) {
if (nextProps.location !== this.props.location) {
this.checkAuthentication(nextProps)
}
Expand Down
2 changes: 1 addition & 1 deletion client/components/Version/Version.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Version () {
const {NODE_ENV, COMMIT_HASH} = $_ENV

const version = NODE_ENV === 'test'
? <a href={`https://github.com/CodeForSocialGood/calltocode.org/tree/${COMMIT_HASH}`} target='_blank'>v{COMMIT_HASH}</a>
? <a href={`https://github.com/CodeForSocialGood/calltocode.org/tree/${COMMIT_HASH}`} target='_blank' rel="noopener noreferrer">v{COMMIT_HASH}</a>
: null

return (
Expand Down
Binary file added client/images/group-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1ae9900

Please sign in to comment.