File tree 8 files changed +1680
-2683
lines changed
8 files changed +1680
-2683
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class App extends Component {
62
62
< Route path = '/landing-f' component = { Footer } />
63
63
< Route path = '/landing-e' component = { LandingE } />
64
64
< Route path = '/landing-d' component = { LandingD } />
65
+ < Route path = '/landing-f' component = { Footer } />
65
66
< Route path = '/show-applications' component = { ApplicationsRestrictedLoadable } />
66
67
< Route path = '/projects/:id' component = { ProjectDetail } />
67
68
</ Switch >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { connect } from 'react-redux'
4
4
import ApplicationActionCreator from '../../actions/application/'
5
5
6
6
class ApplicationsList extends Component {
7
- componentWillReceiveProps ( nextProps ) {
7
+ UnsafeComponentWillReceiveProps ( nextProps ) {
8
8
this . _markAsSeenApplications ( nextProps . applications )
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Home extends Component {
32
32
this . props . onLoad ( )
33
33
}
34
34
35
- componentWillReceiveProps = ( nextProps ) => {
35
+ UnsafeComponentWillReceiveProps = ( nextProps ) => {
36
36
if ( this . props . projects !== nextProps . projects ) {
37
37
this . setState ( { filteredProjects : nextProps . projects } )
38
38
}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ $white: #fff;
16
16
img {
17
17
vertical-align : middle ;
18
18
}
19
+
19
20
h1 {
20
21
color : $white ;
21
22
text-align : center ;
@@ -50,6 +51,36 @@ a.slack {
50
51
}
51
52
}
52
53
54
+ .slack {
55
+ margin-top :-15px ;
56
+ font-size : 30px ;
57
+ }
58
+
59
+ .slack , .github {
60
+ width : 369px ;
61
+ height : 75px ;
62
+ border-radius : 49.5px ;
63
+
64
+ & :active ,
65
+ & :hover ,
66
+ & :focus {
67
+ background : $white ;
68
+ }
69
+ }
70
+
71
+ a .slack {
72
+ background : $white ;
73
+ width : 369px ;
74
+ height : 75px ;
75
+ border-radius : 49.5px ;
76
+
77
+ & :active ,
78
+ & :hover ,
79
+ & :focus {
80
+ background : $white ;
81
+ }
82
+ }
83
+
53
84
.slack {
54
85
margin-top :-15px ;
55
86
}
@@ -80,4 +111,5 @@ a.slack {
80
111
text-align : left ;
81
112
color : #000000 ;
82
113
padding-left : 10px ;
114
+ color : #000000
83
115
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function (BaseComponent) {
12
12
this . checkAuthentication ( this . props )
13
13
}
14
14
15
- componentWillReceiveProps ( nextProps ) {
15
+ UnsafeComponentWillReceiveProps ( nextProps ) {
16
16
if ( nextProps . location !== this . props . location ) {
17
17
this . checkAuthentication ( nextProps )
18
18
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Version () {
5
5
const { NODE_ENV , COMMIT_HASH } = $_ENV
6
6
7
7
const version = NODE_ENV === 'test'
8
- ? < a href = { `https://github.com/CodeForSocialGood/calltocode.org/tree/${ COMMIT_HASH } ` } target = '_blank' > v{ COMMIT_HASH } </ a >
8
+ ? < a href = { `https://github.com/CodeForSocialGood/calltocode.org/tree/${ COMMIT_HASH } ` } target = '_blank' rel = "noopener noreferrer" > v{ COMMIT_HASH } </ a >
9
9
: null
10
10
11
11
return (
You can’t perform that action at this time.
0 commit comments