@@ -9,6 +9,7 @@ import Placeholder2 from 'assets/img/cleanAir/goal2.png';
9
9
import Placeholder3 from 'assets/img/cleanAir/goal3.png' ;
10
10
import SEO from 'utilities/seo' ;
11
11
import { useTranslation , Trans } from 'react-i18next' ;
12
+ import CleanAirPageContainer from './Page' ;
12
13
13
14
const CleanAirAbout = ( ) => {
14
15
useInitScrollTop ( ) ;
@@ -37,153 +38,155 @@ const CleanAirAbout = () => {
37
38
] ;
38
39
39
40
return (
40
- < div className = "page-wrapper about-page" >
41
- < SEO
42
- title = "About"
43
- siteTitle = "CLEAN-Air Network"
44
- description = "An African led, multi-region network bringing together a community of practice for air quality solutions and air quality management across Africa."
45
- />
41
+ < CleanAirPageContainer >
42
+ < div className = "page-wrapper about-page" >
43
+ < SEO
44
+ title = "About"
45
+ siteTitle = "CLEAN-Air Network"
46
+ description = "An African led, multi-region network bringing together a community of practice for air quality solutions and air quality management across Africa."
47
+ />
46
48
47
- { /* section 1 */ }
48
- < div className = "Hero" >
49
- < span className = "image-container" >
50
- < img src = { Section1 } />
51
- </ span >
52
- < div className = "hero-content" >
53
- < div >
54
- < p className = "hero-title" >
55
- < Trans i18nKey = "cleanAirSite.about.section1.title" >
56
- The CLEAN-Air < br /> Network
57
- </ Trans >
58
- </ p >
59
- < p className = "hero-sub" >
60
- < Trans i18nKey = "cleanAirSite.about.section1.subText" >
61
- < span className = "fact" > An African-led, multi-regional network</ span > < br />
62
- bringing together a community of practice for air quality solutions and air quality
63
- management across Africa.
64
- </ Trans >
65
- </ p >
66
- < ButtonCTA
67
- label = { t ( 'cleanAirSite.about.section1.cta' ) }
68
- link = "https://docs.google.com/forms/d/e/1FAIpQLScIPz7VrhfO2ifMI0dPWIQRiGQ9y30LoKUCT-DDyorS7sAKUA/viewform"
69
- style = { {
70
- width : '200px'
71
- } }
72
- />
49
+ { /* section 1 */ }
50
+ < div className = "Hero" >
51
+ < span className = "image-container" >
52
+ < img src = { Section1 } />
53
+ </ span >
54
+ < div className = "hero-content" >
55
+ < div >
56
+ < p className = "hero-title" >
57
+ < Trans i18nKey = "cleanAirSite.about.section1.title" >
58
+ The CLEAN-Air < br /> Network
59
+ </ Trans >
60
+ </ p >
61
+ < p className = "hero-sub" >
62
+ < Trans i18nKey = "cleanAirSite.about.section1.subText" >
63
+ < span className = "fact" > An African-led, multi-regional network</ span > < br />
64
+ bringing together a community of practice for air quality solutions and air
65
+ quality management across Africa.
66
+ </ Trans >
67
+ </ p >
68
+ < ButtonCTA
69
+ label = { t ( 'cleanAirSite.about.section1.cta' ) }
70
+ link = "https://docs.google.com/forms/d/e/1FAIpQLScIPz7VrhfO2ifMI0dPWIQRiGQ9y30LoKUCT-DDyorS7sAKUA/viewform"
71
+ style = { {
72
+ width : '200px'
73
+ } }
74
+ />
75
+ </ div >
73
76
</ div >
74
77
</ div >
75
- </ div >
76
78
77
- { /* section 2 */ }
78
- < div className = "page-section" >
79
- < div className = "acronym-section-container" >
80
- < div className = "acronym-section" >
81
- < div className = "content" >
82
- < div className = "acronym-content-container" >
83
- < p >
84
- < Trans i18nKey = "cleanAirSite.about.section2.acronym" >
85
- < span className = "highlight" > CLEAN-Air</ span > , is an acronym coined from
86
- </ Trans >
87
- </ p >
88
- < h2 className = "content-h" > { t ( 'cleanAirSite.about.section2.title' ) } </ h2 >
89
- < p > { t ( 'cleanAirSite.about.section2.subText' ) } </ p >
90
- < p className = "join-now" >
91
- < Trans i18nKey = "cleanAirSite.about.section2.cta" >
92
- Are you an organization or individual interested in air quality in Africa?
93
- < a
94
- href = "https://docs.google.com/forms/d/e/1FAIpQLScIPz7VrhfO2ifMI0dPWIQRiGQ9y30LoKUCT-DDyorS7sAKUA/viewform"
95
- target = "_blank"
96
- rel = "noopener noreferrer" >
97
- Join the network
98
- </ a >
99
- </ Trans >
100
- </ p >
79
+ { /* section 2 */ }
80
+ < div className = "page-section" >
81
+ < div className = "acronym-section-container" >
82
+ < div className = "acronym-section" >
83
+ < div className = "content" >
84
+ < div className = "acronym-content-container" >
85
+ < p >
86
+ < Trans i18nKey = "cleanAirSite.about.section2.acronym" >
87
+ < span className = "highlight" > CLEAN-Air</ span > , is an acronym coined from
88
+ </ Trans >
89
+ </ p >
90
+ < h2 className = "content-h" > { t ( 'cleanAirSite.about.section2.title' ) } </ h2 >
91
+ < p > { t ( 'cleanAirSite.about.section2.subText' ) } </ p >
92
+ < p className = "join-now" >
93
+ < Trans i18nKey = "cleanAirSite.about.section2.cta" >
94
+ Are you an organization or individual interested in air quality in Africa?
95
+ < a
96
+ href = "https://docs.google.com/forms/d/e/1FAIpQLScIPz7VrhfO2ifMI0dPWIQRiGQ9y30LoKUCT-DDyorS7sAKUA/viewform"
97
+ target = "_blank"
98
+ rel = "noopener noreferrer" >
99
+ Join the network
100
+ </ a >
101
+ </ Trans >
102
+ </ p >
103
+ </ div >
101
104
</ div >
102
105
</ div >
103
106
</ div >
104
107
</ div >
105
- </ div >
106
108
107
- { /* section 3 */ }
108
- < div className = "page-section" >
109
- < SplitSection
110
- pillTitle = { t ( 'cleanAirSite.about.section3.pillTitle' ) }
111
- title = { t ( 'cleanAirSite.about.section3.title' ) }
112
- content = { t ( 'cleanAirSite.about.section3.subText' ) }
113
- showButton = { false }
114
- link = "#"
115
- imageStyle = { {
116
- objectFit : 'cover' ,
117
- maxHeight : '400px'
118
- } }
119
- imgURL = { Section3 }
120
- pillBgColor = "#ECF2FF"
121
- pillTextColor = "#135DFF"
122
- reverse = { false }
123
- />
124
- </ div >
109
+ { /* section 3 */ }
110
+ < div className = "page-section" >
111
+ < SplitSection
112
+ pillTitle = { t ( 'cleanAirSite.about.section3.pillTitle' ) }
113
+ title = { t ( 'cleanAirSite.about.section3.title' ) }
114
+ content = { t ( 'cleanAirSite.about.section3.subText' ) }
115
+ showButton = { false }
116
+ link = "#"
117
+ imageStyle = { {
118
+ objectFit : 'cover' ,
119
+ maxHeight : '400px'
120
+ } }
121
+ imgURL = { Section3 }
122
+ pillBgColor = "#ECF2FF"
123
+ pillTextColor = "#135DFF"
124
+ reverse = { false }
125
+ />
126
+ </ div >
125
127
126
- { /* section 4 */ }
127
- < div className = "page-section" >
128
- < SplitSection
129
- pillTitle = { t ( 'cleanAirSite.about.section4.pillTitle' ) }
130
- title = { t ( 'cleanAirSite.about.section4.title' ) }
131
- content = { t ( 'cleanAirSite.about.section4.subText' ) }
132
- imgURL = { Section4 }
133
- imageStyle = { {
134
- height : '420px' ,
135
- objectFit : 'contain'
136
- } }
137
- pillBgColor = "#ECF2FF"
138
- pillTextColor = "#135DFF"
139
- showButton = { false }
140
- reverse = { true }
141
- />
142
- </ div >
128
+ { /* section 4 */ }
129
+ < div className = "page-section" >
130
+ < SplitSection
131
+ pillTitle = { t ( 'cleanAirSite.about.section4.pillTitle' ) }
132
+ title = { t ( 'cleanAirSite.about.section4.title' ) }
133
+ content = { t ( 'cleanAirSite.about.section4.subText' ) }
134
+ imgURL = { Section4 }
135
+ imageStyle = { {
136
+ height : '420px' ,
137
+ objectFit : 'contain'
138
+ } }
139
+ pillBgColor = "#ECF2FF"
140
+ pillTextColor = "#135DFF"
141
+ showButton = { false }
142
+ reverse = { true }
143
+ />
144
+ </ div >
143
145
144
- { /* section 5 */ }
145
- < div className = "page-section" >
146
- < SingleSection
147
- content = {
148
- < div className = "goals-container" >
149
- < div
150
- style = { {
151
- width : '100%' ,
152
- display : 'flex' ,
153
- flexDirection : 'column' ,
154
- alignItems : 'flex-start'
155
- } } >
156
- < span id = "first-pill" style = { { backgroundColor : '#FFF' } } >
157
- < p style = { { color : '#135DFF' } } > { t ( 'cleanAirSite.about.section5.pillTitle' ) } </ p >
158
- </ span >
159
- < h2 className = "content-h" > { t ( 'cleanAirSite.about.section5.title' ) } </ h2 >
160
- </ div >
146
+ { /* section 5 */ }
147
+ < div className = "page-section" >
148
+ < SingleSection
149
+ content = {
150
+ < div className = "goals-container" >
151
+ < div
152
+ style = { {
153
+ width : '100%' ,
154
+ display : 'flex' ,
155
+ flexDirection : 'column' ,
156
+ alignItems : 'flex-start'
157
+ } } >
158
+ < span id = "first-pill" style = { { backgroundColor : '#FFF' } } >
159
+ < p style = { { color : '#135DFF' } } > { t ( 'cleanAirSite.about.section5.pillTitle' ) } </ p >
160
+ </ span >
161
+ < h2 className = "content-h" > { t ( 'cleanAirSite.about.section5.title' ) } </ h2 >
162
+ </ div >
161
163
162
- < div className = "goals" >
163
- { goals . map ( ( goal , index ) => (
164
- < div className = { `goal ${ index === 0 ? 'first' : '' } ` } key = { index } >
165
- < div className = "goal-image-container" >
166
- < img src = { goal . imgURL } className = "goal-image" />
164
+ < div className = "goals" >
165
+ { goals . map ( ( goal , index ) => (
166
+ < div className = { `goal ${ index === 0 ? 'first' : '' } ` } key = { index } >
167
+ < div className = "goal-image-container" >
168
+ < img src = { goal . imgURL } className = "goal-image" />
169
+ </ div >
170
+ < div className = "goal-content" >
171
+ < h3 className = "goal-title" > { goal . title } </ h3 >
172
+ < p className = "goal-p" > { goal . content } </ p >
173
+ </ div >
167
174
</ div >
168
- < div className = "goal-content" >
169
- < h3 className = "goal-title" > { goal . title } </ h3 >
170
- < p className = "goal-p" > { goal . content } </ p >
171
- </ div >
172
- </ div >
173
- ) ) }
175
+ ) ) }
176
+ </ div >
174
177
</ div >
175
- </ div >
176
- }
177
- padding = "5rem 0"
178
- bgColor = "#EDF3FF"
179
- />
180
- </ div >
178
+ }
179
+ padding = "5rem 0"
180
+ bgColor = "#EDF3FF"
181
+ />
182
+ </ div >
181
183
182
- { /* section 6 */ }
183
- < div className = "page-section" >
184
- < MainHighlight />
184
+ { /* section 6 */ }
185
+ < div className = "page-section" >
186
+ < MainHighlight />
187
+ </ div >
185
188
</ div >
186
- </ div >
189
+ </ CleanAirPageContainer >
187
190
) ;
188
191
} ;
189
192
0 commit comments