@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
4
4
import { Grid , Typography } from '@material-ui/core' ;
5
5
import { withStyles } from '@material-ui/core/styles' ;
6
6
7
+ import A from '../A' ;
7
8
import SocialMedia from '../SocialMedia' ;
8
9
import background from '../../assets/images/bg/background.png' ;
9
10
@@ -59,38 +60,28 @@ function About({ classes }) {
59
60
justify = "space-between"
60
61
alignItems = "flex-start"
61
62
>
62
- < Grid item xs = { 12 } sm = { 7 } justify = "flex-end" alignItem = "center" >
63
+ < Grid item xs = { 12 } sm = { 7 } >
63
64
< Typography variant = "body2" className = { classes . title } >
64
65
HURUmap's underlying data is quality-checked from reputable
65
66
official sources including the government census,{ ' ' }
66
- < a
67
- href = "https://www.pepfar.gov/"
68
- target = "_blank"
69
- rel = "noopener noreferrer"
70
- className = { classes . links }
71
- >
67
+ < A href = "https://www.pepfar.gov/" className = { classes . links } >
72
68
PEPFAR{ ' ' }
73
- </ a >
69
+ </ A >
74
70
and{ ' ' }
75
- < a
76
- href = "http://www.uwezo.net/"
77
- target = "_blank"
78
- rel = "noopener noreferrer"
79
- className = { classes . links }
80
- >
71
+ < A href = "http://www.uwezo.net/" className = { classes . links } >
81
72
UWEZO.
82
- </ a >
73
+ </ A >
83
74
</ Typography >
84
75
< Typography variant = "body2" className = { classes . body } >
85
76
This project is built on software originally created by the Knight Lab
86
77
in the USA for the{ ' ' }
87
- < a href = "https://censusreporter.org/" className = { classes . links } >
78
+ < A href = "https://censusreporter.org/" className = { classes . links } >
88
79
censusReporter.org
89
- </ a > { ' ' }
80
+ </ A > { ' ' }
90
81
project which has been repurposed by{ ' ' }
91
- < a href = "https://openup.org.za/" className = { classes . links } >
82
+ < A href = "https://openup.org.za/" className = { classes . links } >
92
83
OpenUp
93
- </ a > { ' ' }
84
+ </ A > { ' ' }
94
85
and Media Monitoring Africa for Wazimap in South Africa for Wazimap in
95
86
SouthAfrica and by Code for Africa for HURUmap in Kenya, Tanzania,
96
87
Uganda and Zambia.
@@ -107,61 +98,63 @@ function About({ classes }) {
107
98
alignItems = "flex-start"
108
99
>
109
100
< Grid item >
110
- < Typography variant = "body2" className = { classes . listText } >
101
+ < Typography
102
+ variant = "body2"
103
+ className = { classes . listText }
104
+ component = "div"
105
+ >
111
106
Other openAfrica Projects
112
107
< ul className = { classes . list } >
113
108
< li >
114
- < a
109
+ < A
115
110
href = "https://taxclock.codeforkenya.org/"
116
111
className = { classes . links }
117
112
>
118
113
Tax Clock
119
- </ a >
114
+ </ A >
120
115
</ li >
121
116
< li >
122
- < a href = "https://sourceafrica.net/" className = { classes . links } >
117
+ < A href = "https://sourceafrica.net/" className = { classes . links } >
123
118
sourceAFRICA
124
- </ a >
119
+ </ A >
125
120
</ li >
126
121
</ ul >
127
122
</ Typography >
128
- < Typography variant = "body2" className = { classes . joinText } >
123
+ < Typography
124
+ variant = "body2"
125
+ className = { classes . joinText }
126
+ component = "div"
127
+ >
129
128
Join Our Community
130
129
< ul className = { classes . list } >
131
130
< li >
132
- < a
131
+ < A
133
132
href = "https://www.facebook.com/HacksHackersAfrica"
134
133
className = { classes . links }
135
134
>
136
135
Hacks/Hackers Africa
137
- </ a >
136
+ </ A >
138
137
</ li >
139
138
</ ul >
140
139
</ Typography >
141
140
</ Grid >
142
141
< Grid item >
143
- < Typography variant = "body2" className = { classes . listText } >
142
+ < Typography
143
+ variant = "body2"
144
+ className = { classes . listText }
145
+ component = "div"
146
+ >
144
147
A project by:
145
148
< ul className = { classes . list } >
146
149
< li >
147
- < a
148
- href = "https://codeforafrica.org/"
149
- target = "_blank"
150
- rel = "noopener noreferrer"
151
- className = { classes . links }
152
- >
150
+ < A href = "https://codeforafrica.org/" className = { classes . links } >
153
151
Code for Africa
154
- </ a >
152
+ </ A >
155
153
</ li >
156
154
< li >
157
- < a
158
- href = "https://www.icfj.org/"
159
- target = "_blank"
160
- rel = "noopener noreferrer"
161
- className = { classes . links }
162
- >
155
+ < A href = "https://www.icfj.org/" className = { classes . links } >
163
156
ICFJ
164
- </ a >
157
+ </ A >
165
158
</ li >
166
159
</ ul >
167
160
</ Typography >
0 commit comments