-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathabout.php
267 lines (239 loc) · 7.53 KB
/
about.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<?php
include_once("header.php");
?>
<style>
body{
overflow-x: hidden;
100%;
}
.row{
margin-left: 0;
margin-right: 0;
}
main{
background-color: #fff;
}
.jumbotron{
background-color: #2f70ed;
}
.jumbotron-content{
/*width: 100%;*/
}
.jumbotron-content h1{
font-size: 2.6rem;
width: 80%;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
.jumbotron-content p{
font-size: 1.3rem;
width: 90%;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.btn-custom-primary{
background-color: #f5f5f5;
text-transform: none;
font-family: inherit !important;
font-size: 1.3rem;
border-radius:5px;
}
.btn-custom-primary:hover{
background-color: #dee2e6f0 !important;
color:#000000 !important;
-moz-transition: all 0.5s linear;
-webkit-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
.paddedhr{
width: 100px;
background-color: #00AEFF;
padding: 2px 0;
}
.paddedhr2{
width: 60px;
background-color: #00AEFF;
padding: 2.5px 0;
}
.bg-grey{
background-color: #eee;
}
.text-center{
text-align: center !important;
}
.clip-bottom{
-webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
background-color: #dbf4ff;
padding-top: 80px !important;
padding-bottom: 80px !important;
font-size: 1.4rem;
}
.clip-bottom h1.text-primary{
color: #00aeff;
font-size: 2.6rem;
font-weight: 1000 !important;
}
.bg-footer-top{
background-color: #00AEFF;
}
.bg-footer-lower{
background-color: #00AEFF;
}
.img-bg {
position: relative;
display: flex;
justify-content: center;
overflow: hidden;
height: 400px;
width: 100%;
margin: auto;
background: #222
}
.img-bg div{
position: absolute;
max-width: 600px;
transform: translateY(-50%);
top: 50%;
text-align: center;
}
</style>
<main>
<div class="text-white img-bg">
<img src="./img.jpg" style='opacity:0.2;width:120%;min-width:1280px;height:auto;min-height:100%;position:absolute;top:-70%;left:-10%' lm me===fgfuwreIGAhwgiv=alt="Background">
<div>
<h1 class="mb-2">What is HNG all about?</h1>
<p style='margin:0;line-height:2'>The HNG is a 3-month remote internship program designed to locate the most talented software developers in Africa</p>
</div>
</div>
<div class="row">
<h2 class="text-center w-100 mb-0 pt-4">About Us</h2>
<hr class="paddedhr">
</div>
<div class="container">
<!-- <div class="logo my-5 d-flex justify-content-center mw-75 ml-auto mr-auto">
<img src="icons/logo-blue-bg.png" style="max-width: 300px; max-height: 252px;">
</div> -->
<div class="content">
<p class="text-muted px-5"> The HNG is a 3-month remote internship program designed to locate the most talented software developers in
Africa. Everyone is welcome to participate (there is no entrance exam). We create fun challenges every week on our slack channel.
Those who solve them stay on. Everyone gets to learn important concepts quickly, and make connections with people they can work with in the future.
The intern coders are introduced to complex programming frameworks, and get to work on real applications that scale. the finalist are connected to
the best companies in the tech ecosystem and get full time jobs and contracts immediately </p>
</div>
</div>
<div class="row clip-bottom py-5 text-center d-flex justify-content-around" style="margin:0">
<div class="col-sm-3 col-6">
<h1 class="text-primary">4200</h1>
Registered interns
<hr class="paddedhr2">
</div>
<div class="col-sm-3 col-6">
<h1 class="text-primary">30</h1>
Motivated Mentors
<hr class="paddedhr2">
</div>
<div class="col-sm-3 col-6">
<h1 class="text-primary">6</h1>
Learning Paths
<hr class="paddedhr2">
</div>
<div class="col-sm-3 col-6">
<h1 class="text-primary">5</h1>
African Countries
<hr class="paddedhr2">
</div>
</div>
<div class="container">
<h3 class="mt-5 text-center">What you will learn</h3>
<hr class="paddedhr2 my-5">
<div class="row d-flex justify-content-around text-center mt-5">
<div class="col-sm-3">
<img src="icons/coding.png" class="d-block ml-auto mr-auto">
<h4 class="my-0">Programming</h4>
<p class="text-muted">
Collaborate with passionate individuals to deliver on real-world projects and reasonable deadlines.
</p>
</div>
<div class="col-sm-3">
<img src="icons/painting-palette.png" class="d-block ml-auto mr-auto">
<h4 class="my-0">Design</h4>
<p class="text-muted">
Collaborate with passionate individuals to deliver on real-world projects and reasonable deadlines.
</p>
</div>
<div class="col-sm-3">
<img src="icons/team.png" class="d-block ml-auto mr-auto">
<h4 class="my-0">Collaboration</h4>
<p class="text-muted">
Collaborate with passionate individuals to deliver on real-world projects and reasonable deadlines.
</p>
</div>
</div>
</div>
<div class="row bg-footer-top py-2" ></div>
<div class="row bg-footer-lower py-2 justify-content-center text-white">
<div class="col-sm-3 d-flex align-items-center" style=" border-right: 2px solid #fff; max-width: 200px;">
<div class="rounded-circle bg-primary d-flex justify-content-center align-items-center mr-1" style="min-width: 50px; height: 50px;"><span class="fa fa-envelope float-left"></span></div>
<h4 class="text-right">Start Learning Now</h4>
</div>
<div class="col-sm-7">
<h4 class="text-center mb-2">Would you you like get our resgular updates? Subscribe Now! </h4>
<form class="form-inline row d-flex " id="subscribe-form">
<div class="col-7 form-group pr-0 mr-0">
<input type="email" name="email" id="email" placeholder="Enter your email" class="form-control w-100 py-2" style= "border-top-right-radius: 0; border-bottom-right-radius: 0" >
</div>
<div class="col-4 form-group">
<button type="submit" class="btn btn-custom-primary py-2" style="border-top-left-radius: 0; border-bottom-left-radius: 0; font-size: 1.1rem; min-width: 90%; color: #000000">Subscribe</button>
</div>
<span id="fbk" class="d-none text-center"><strong></strong></span>
</form>
</div>
</div>
</main>
<script>
$('document').ready(function(){
$('#subscribe-form').submit(function(e){
e.preventDefault();
var email = $('#email').val();
if (!validateEmail(email) || email == '') {
$("#fbk").html("Invalid Email");
$("#fbk").attr("class","text-danger");
$("#fbk").show();
}
else {
$.ajax({
url: 'process',
type: 'post',
data: { email: email, subscribe: true},
success: function(data){
if (data == "1") {
$('#email').val('');
$("#fbk strong").html("Thanks for subscribing, we\'ll keep you updated");
$("#fbk").attr("class","alert alert-success");
$("#fbk").show();
}
else{
$("#fbk").html("Oops, an error occurred, please try again");
$("#fbk").attr("class","alert alert-danger");
$("#fbk").show();
}
},
error: function(err){
console.log(err);
}
})
}
});
function validateEmail(email) {
var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
}
})
</script>
<?php
include_once("footer.php");
?>