-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapply.html
More file actions
executable file
·203 lines (188 loc) · 9.28 KB
/
Copy pathapply.html
File metadata and controls
executable file
·203 lines (188 loc) · 9.28 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apply | Voitheia</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/webp" href="Voitheia-Photos/Voitheia_logo.webp">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js"></script>
</head>
<body>
<div id="particles-js" style="position: fixed; width: 100%; height: 100%; z-index: 0; pointer-events: none;"></div>
<div class="cursor"></div>
<div class="cursor-follower"></div>
<!-- Header -->
<header>
<nav>
<a href="index.html">
<img src="Voitheia-Photos/Voitheia_logo.webp" alt="Voitheia Logo" class="logo">
</a>
<div class="nav-links">
<a href="crew.html">Crew</a>
<!--<a href="bulletin.html">Bulletin</a>-->
<a href="projects.html">Projects</a>
<a href="accounts.html">Accounts</a>
<a href="apply.html" class="button apply-btn">Apply</a>
<a href="donate.html" class="button donate-btn">Donate</a>
</div>
</nav>
</header>
<!-- Application Form Section -->
<section class="apply-section">
<div class="form-container">
<h1 class="apply-title"><b><u>Apply for a Position</u></b></h1>
<form id="apply-form" onsubmit="sendEmail(event)">
<div class="form-section">
<label for="name"><b>Full Name:</b></label>
<input type="text" id="name" required>
</div>
<div class="form-section">
<label for="age"><b>Age:</b></label>
<input type="number"
id="age"
required
onkeydown="return ['Backspace','Delete','ArrowLeft','ArrowRight','Tab'].includes(event.code) || /[0-9]/.test(event.key)"
>
</div>
<div class="form-section">
<label for="school"><b>School:</b></label>
<input type="text" id="school" required>
</div>
<div class="form-section">
<label for="grade"><b>Grade:</b></label>
<input type="text" id="grade" required>
</div>
<!-- NEW PHONE NUMBER SECTION WITH COUNTRY CODE -->
<div class="form-section">
<label for="phone"><b>Phone Number:</b></label>
<div style="display: flex; gap: 10px;">
<select id="country-code" required>
<option value="">Code</option>
<option value="+1">+1 (USA/Canada)</option>
<option value="+234">+234 (Nigeria)</option>
<option value="+44">+44 (UK)</option>
<option value="+91">+91 (India)</option>
<option value="+61">+61 (Australia)</option>
<option value="+61">+355 (Albania)</option>
<option value="+971">+971 (UAE)</option>
<option value="+61">+54 (Argentina)</option>
<option value="+61">+31 (Netherlands)</option>
<option value="+81">+81 (Japan)</option>
<option value="+49">+49 (Germany)</option>
<option value="+33">+33 (France)</option>
<option value="+39">+39 (Italy)</option>
<option value="+55">+55 (Brazil)</option>
<option value="+34">+34 (Spain)</option>
<option value="+7">+7 (Russia)</option>
<option value="+82">+82 (South Korea)</option>
<option value="+86">+86 (China)</option>
<!-- Add more country codes if needed -->
</select>
<input
type="tel"
id="phone"
placeholder="Phone Number"
required
maxlength="10"
pattern="\d{10}"
oninvalid="this.setCustomValidity('Please input exactly 10 numbers')"
oninput="this.setCustomValidity('')"
>
</div>
</div>
<div class="form-section">
<label for="position"><b>Position Applying For:</b></label>
<select id="position" required>
<option value="">Select Position</option>
<option value="Project Management team member">Project Management</option>
<option value="Public Image team member">Public Image</option>
<option value="Volunteer Coordinator member">Volunteer Coordinator</option>
<option value="Event Management team member">Event Management</option>
<option value="Event Management team member">Information Technology</option>
</select>
</div>
<div class="form-section">
<label for="reason"><b>How do you think you can fulfill the position you are applying for?</b></label>
<textarea id="reason" rows="4" required data-minchars="200" maxlength="500"></textarea>
<small class="char-counter" id="reason-counter">0 / 200-500 characters</small>
</div>
<div class="form-section">
<label for="contribution"><b>What can you bring to Voitheia?</b></label>
<textarea id="contribution" rows="4" required data-minchars="200" maxlength="500"></textarea>
<small class="char-counter" id="contribution-counter">0 / 200-500 characters</small>
</div>
<div class="form-section">
<label for="email"><b>Email ID</b></label>
<input type="email" id="email" required>
</div>
<button type="submit" class="submit-btn">Submit Application</button>
</form>
</div>
</section>
<!-- Footer -->
<footer>
<div class="footer-content">
<div class="footer-links">
<h3 class="quick-links"><u>Quick Links</u></h3>
<a href="crew.html">Crew</a>
<a href="projects.html">Projects</a>
<a href="accounts.html">Accounts</a>
<a href="apply.html">Apply</a>
<a href="donate.html">Donate</a>
</div>
<div class="footer-links">
<h3 class="connectwus"><u>Connect With Us</u></h3>
<div class="social-icons">
<a href="https://www.linkedin.com/company/voitheia-org/"><i class="fab fa-linkedin"></i></a>
<a href="https://www.instagram.com/voitheia.ng?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw=="><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="footer-links">
<h3 class="contact"><u>Contact</u></h3>
<a href="https://mail.google.com/mail/?view=cm&fs=1&to=voitheia.org@gmail.com&su=Hey Voitheia&body=Hi, I would like to know more about your organisation." target="_blank"><i class="fas fa-envelope"></i> voitheia.org@gmail.com</a>
<a href="tel:+2348055899033"><i class="fas fa-phone"></i> +234 805 589 9033</a>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="js/form.js"></script>
<script src="js/cursor.js"></script>
<script src="js/animations.js"></script>
<script>
particlesJS("particles-js", {
"particles": {
"number": { "value": 130, "density": { "enable": true, "value_area": 900 } },
"color": { "value": "#FF6B6B" },
"shape": { "type": "circle" },
"opacity": { "value": 0.3, "random": true },
"size": { "value": 2.5, "random": true },
"line_linked": {
"enable": true,
"distance": 160,
"color": "#FF6B6B",
"opacity": 0.2,
"width": 1
},
"move": { "enable": true, "speed": 1.2, "random": true, "out_mode": "out" }
},
"interactivity": {
"detect_on": "window",
"events": { "onhover": { "enable": true, "mode": "grab" }, "resize": true },
"modes": { "grab": { "distance": 180, "line_linked": { "opacity": 0.4 } } }
},
"retina_detect": true
});
</script>
<script>
// Add 'loaded' class after full page load to enable button transitions
window.addEventListener('load', () => {
document.body.classList.add('loaded');
});
</script>
</body>
</html>