-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
182 lines (151 loc) · 6.73 KB
/
index.html
File metadata and controls
182 lines (151 loc) · 6.73 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Welcome to Codezoned! 😃</title>
<link rel="icon" href="assets/img/cz_signature.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- font awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled jquery -->
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/styles.css"/>
<link rel="stylesheet" type="text/css" href="assets/materialize.css">
<script type="text/javascript" src="assets/materialize.js"></script>
<style>
/* label color */
.input-field label {
color: #e0e0e0;
}
/* label focus color */
.input-field input[type=text]:focus + label{
color: #e0e0e0 !important;
}
/* label underline focus color */
.input-field input[type=text]:focus{
border-bottom: 1px solid #e0e0e0 !important;
box-shadow: 0 1px 0 0 #e0e0e0 !important;
}
.input-field input[type=email]:focus + label{
color: #e0e0e0 !important;
}
/* label underline focus color */
.input-field input[type=email]:focus{
border-bottom: 1px solid #e0e0e0 !important;
box-shadow: 0 1px 0 0 #e0e0e0 !important;
}
.material-icons{
color: #e0e0e0 !important;
}
.material-icons:focus{
color: #d32f2f !important;
}
.material-icons:hover{
color: #d32f2f !important;
}
.btn{
background-color: #e0e0e0;
color: #212121;
font-size: 1em;
font-weight: 500;
}
</style>
</head>
<body>
<nav style="position: absolute; background-color: #222222;">
<div class="nav-wrapper">
<a href="http://www.codezoned.com" class="brand-logo"><img src="assets/img/CZmainSmall.png" style="width: 12%; min-width: 150px;"></a>
</div>
</nav><br><br><br>
<div class="container info-box" style="margin-top: 5%;">
<div class="row" style="text-align: left; color: #e0e0e0;">
<div class="col s12" style="text-align: center;">Hey there, Thanks for your interest in <span class="codezoned" style="color: white;">Codezoned;</span></div>
<div class="col s12" style="text-align: center; margin-bottom: 2%;">We need you to do a couple of things to get you in as an actual member :)</div>
<div class="col s4" style="text-align: right;">Step <span style="color: #d32f2f; font-weight: 750">1</span>:</div>
<div class="col s8" style="text-align: left;">Fill up this <a href="https://docs.google.com/forms/d/e/1FAIpQLScu0pGSZEbz1TcHwTr4BH0VnQWiPwTnIKLqrn0G3JLiaeKaRQ/viewform" target="_blank" style="color: #d32f2f;"> Google form</a></div>
<div class="col s4"></div>
<div class="col s8" style="text-align: left; margin-bottom: 1.5%; font-size: 16px;">Your details would really help us to connect and talk to you in future. They're safe with us tho 🤐</div><br>
<div class="col s4" style="text-align: right;">Step <span style="color: #d32f2f; font-weight: 750">2</span>:</div>
<div class="col s8" style="text-align: left;"> Register on <a href="http://talk.codezoned.com" target="_blank" style="color: #d32f2f;">talk.codezoned</a></div>
<div class="col s4"></div>
<div class="col s8" style="text-align: left; margin-bottom: 1.5%; font-size: 16px;">Our forum would be more heavenly with you 😇</div><br>
<div class="col s4" style="text-align: right;">Step <span style="color: #d32f2f; font-weight: 750">3</span>:</div>
<div class="col s8" style="text-align: left;">Join our <a href="https://discord.gg/6j62WpU" target="_blank" style="color: #d32f2f;">Discord</a></div><br><br>
<!-- <div class="col s3"></div> -->
<div class="col s12" style=" margin-bottom: 1%; color: #bdbdbd; margin-top: 2%; font-size: 1.1em; text-align: center;">Great! Thanks for going through this with us. Now, we'd like to invite you to our Github organization. Go on and enter your Github handle and Github email. You can expect an invitation soon! 😃</div> <br>
<!-- <div class="col s12" style="text-align: center; color: #101010; font-size: 10px;">P.S. There are links in there ;)</div> -->
</div>
</div>
<div class="form-div" style="margin-top: 2%; margin-bottom: 1.5%;">
<form action="input_data" method="post" class="col s12">
<div class="row">
<div class="input-field col s12" style="margin-bottom: -2%;">
<i class="material-icons prefix" id="icon1">email</i>
<input id="email" type="email" name="email" class="validate" required style="color: #e0e0e0;">
<label for="email">Github Email</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix" id="icon2">person</i>
<input id="handle" type="text" name="handle" class="validate" required style="color: #e0e0e0;">
<label for="handle">Github Handle</label>
</div>
</div>
<button class="btn waves-effect waves-light" type="submit" name="action">Submit</button>
</form>
</div>
<!-- Form Validation -->
<script>
$(document).ready(function() {
function validateEmail(sEmail){
var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (filter.test(sEmail)) {
return true;
}
else {
return false;
}
}
$(function() {
$('#email').hover(function() {
$('#icon1').css('color', '#d32f2f');
}, function() {
// on mouseout, reset the background colour
$('#icon1').css('color', '#e0e0e0;');
});
});
$(function() {
$('#handle').hover(function() {
$('#icon2').css('color', '#d32f2f');
}, function() {
// on mouseout, reset the background colour
$('#icon2').css('color', '#e0e0e0;');
});
});
$('#join-form').submit(function(e) {
e.preventDefault();
var email = $('#email').val();
var handle = $('#handle').val();
if ($.trim(email).length == 0) {
alert('Please enter valid email address.');
e.preventDefault();
}
if (validateEmail(email)) {
//alert('Email is valid');
}
else {
alert('Invalid Email Address');
e.preventDefault();
}
if(handle.length<1){
alert("Enter a Valid Github Handle")
}
});
});
</script>
</body>
</html>