File tree 8 files changed +39
-2
lines changed
8 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,7 @@ REACT_APP_NEWS_FETCH_PROXY=REACT_APP_NEWS_FETCH_PROXY
6
6
REACT_APP_TWITTER_URL = REACT_APP_TWITTER_URL
7
7
REACT_APP_FACEBOOK_URL = REACT_APP_FACEBOOK_URL
8
8
REACT_APP_INSTAGRAM_URL = REACT_APP_INSTAGRAM_URL
9
+ REACT_APP_GITHUB_URL = REACT_APP_GITHUB_URL
10
+ REACT_APP_SLACK_URL = REACT_APP_SLACK_URL
9
11
REACT_APP_ANDROID_URL = REACT_APP_ANDROID_URL
10
12
REACT_APP_IOS_URL = REACT_APP_IOS_URL
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ REACT_APP_NEWS_FETCH_PROXY=https://thingproxy.freeboard.io/fetch
45
45
REACT_APP_TWITTER_URL=https://twitter.com/SayTheirName_io
46
46
REACT_APP_FACEBOOK_URL=https://www.facebook.com/Say-Their-Names-108926117523025/?modal=admin_todo_tour
47
47
REACT_APP_INSTAGRAM_URL=https://www.instagram.com/saytheirname.io
48
+ REACT_APP_GITHUB_URL=https://github.com/Say-Their-Name
49
+ REACT_APP_SLACK_URL=https://app.slack.com/client/T014JL5B3SN/C014X92G997
48
50
REACT_APP_ANDROID_URL=https://play.google.com/store/apps/details?id=io.saytheirnames.android
49
51
REACT_APP_IOS_URL=https://apps.apple.com/app/say-their-names/id1517599626
50
52
```
Original file line number Diff line number Diff line change 27
27
"start" : " react-scripts start" ,
28
28
"build" : " react-scripts build" ,
29
29
"test" : " react-scripts test" ,
30
- "test:all" : " yarn run lint:fix && CI=true yarn test" ,
31
- "test:coverage" : " CI=true yarn test --coverage --watchAll=false" ,
30
+ "test:all" : " yarn run lint:fix && yarn test --CI=true " ,
31
+ "test:coverage" : " yarn test --coverage --watchAll=false --CI=true " ,
32
32
"eject" : " react-scripts eject" ,
33
33
"lint" : " eslint src" ,
34
34
"lint:fix" : " eslint src --fix"
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import Apple from '../../assets/AppStorebadge.svg';
7
7
import Twitter from '../../assets/twitter.svg' ;
8
8
import Facebook from '../../assets/facebook.svg' ;
9
9
import Instagram from '../../assets/instagram.svg' ;
10
+ import Github from '../../assets/github.svg' ;
11
+ import Slack from '../../assets/slack.svg' ;
10
12
import Variables from '../../constants/Variables' ;
11
13
12
14
import {
@@ -89,6 +91,24 @@ const Footer = () => (
89
91
>
90
92
< img src = { Instagram } alt = "instagram-handle" />
91
93
</ a >
94
+ < br />
95
+ < h2 > CONTRIBUTE</ h2 >
96
+ < a
97
+ style = { { marginTop : '1rem' , textDecoration : 'none' } }
98
+ target = "_blank"
99
+ rel = "noopener noreferrer"
100
+ href = { Variables . GITHUB_URL }
101
+ >
102
+ < img src = { Github } alt = "github-handle" />
103
+ </ a >
104
+ < a
105
+ style = { { marginTop : '1rem' , textDecoration : 'none' } }
106
+ target = "_blank"
107
+ rel = "noopener noreferrer"
108
+ href = { Variables . SLACK_URL }
109
+ >
110
+ < img src = { Slack } alt = "slack-handle" />
111
+ </ a >
92
112
</ StyledFooter >
93
113
</ FooterContainer >
94
114
</ Container >
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ describe('<Footer />', () => {
23
23
expect ( getByText ( 'Our Mission' ) ) ;
24
24
// expect(getByText('DOWNLOADS (Coming shortly)'));
25
25
expect ( getByText ( 'JOIN US ON SOCIAL MEDIA' ) ) ;
26
+ expect ( getByText ( 'CONTRIBUTE' ) ) ;
26
27
} ) ;
27
28
28
29
test ( 'renders correct links' , ( ) => {
Original file line number Diff line number Diff line change 2
2
REACT_APP_TWITTER_URL ,
3
3
REACT_APP_FACEBOOK_URL ,
4
4
REACT_APP_INSTAGRAM_URL ,
5
+ REACT_APP_GITHUB_URL ,
6
+ REACT_APP_SLACK_URL ,
5
7
REACT_APP_ANDROID_URL ,
6
8
REACT_APP_IOS_URL
7
9
} = process . env ;
@@ -10,6 +12,8 @@ export default {
10
12
TWITTER_URL : REACT_APP_TWITTER_URL ,
11
13
FACEBOOK_URL : REACT_APP_FACEBOOK_URL ,
12
14
INSTAGRAM_URL : REACT_APP_INSTAGRAM_URL ,
15
+ GITHUB_URL : REACT_APP_GITHUB_URL ,
16
+ SLACK_URL : REACT_APP_SLACK_URL ,
13
17
ANDROID_URL : REACT_APP_ANDROID_URL ,
14
18
IOS_URL : REACT_APP_IOS_URL
15
19
} ;
You can’t perform that action at this time.
0 commit comments