-
Notifications
You must be signed in to change notification settings - Fork 0
/
after_explore.html
705 lines (605 loc) · 25.4 KB
/
after_explore.html
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Admissions Guide</title>
<style>
body {
font-family: 'Garamond', serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.navbar {
display: flex;
justify-content: space-around;
align-items: center;
background-color: #235382;
padding: 16px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.navbar a {
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
font-size: 20px;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s;
}
.navbar a:hover {
background-color: rgba(255, 255, 255, 0.2);
color: white;
transform: scale(1.1);
}
.navbar a.active {
background-color: #00c6ff;
color: white;
}
.content {
padding: 60px 30px;
max-width: 1200px;
margin: 20px auto;
background: white;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 10px;
display: none;
opacity: 0;
transition: opacity 0.6s ease-in-out;
}
.content.active {
display: block;
opacity: 1;
}
h1 {
color: #3f68ce;
font-size: 2.8em;
margin-bottom: 25px;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin: 20px 0;
line-height: 1.8;
padding-left: 35px;
position: relative;
}
ul li:before {
content: "✓";
color: #00bcd4;
font-weight: bold;
position: absolute;
left: 0;
top: 0;
font-size: 1.2em;
}
.emphasize {
font-weight: bold;
color: #3f68ce;
}
.college-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
}
.college-box {
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 25px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
}
.college-box:hover {
transform: translateY(-10px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.college-box img {
width: 100%;
height: 160px;
object-fit: cover;
border-radius: 5px;
margin-bottom: 20px;
}
.college-box h2 {
font-size: 1.6em;
margin: 15px 0;
color: #333;
}
.college-box p {
font-size: 1.1em;
color: #666;
}
.add-college-box {
background-color: #e0f7fa;
border: 2px dashed #00acc1;
text-align: center;
}
.add-college-box button {
background-color: #00acc1;
color: white;
padding: 12px 24px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.1em;
margin-top: 15px;
transition: background-color 0.3s;
}
.add-college-box button:hover {
background-color: #00838f;
}
.dialog {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.dialog-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
.dialog-content button {
background-color: #3f68ce;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
margin-top: 20px;
}
.dialog-content button:hover {
background-color: #0056b3;
}
.success-stories-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
padding: 20px;
}
.success-story {
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
position: relative;
transition: transform 0.3s, box-shadow 0.3s;
}
.success-story:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.success-story img {
width: 100%;
height: 200px;
object-fit: cover;
}
.success-story-content {
padding: 15px;
text-align: center;
}
.success-story h2 {
font-size: 1.5em;
margin: 10px 0;
color: #333;
}
.success-story p {
font-size: 1em;
color: #555;
margin: 10px 0;
}
.likes {
color: #00bcd4;
font-weight: bold;
margin: 10px 0;
}
.social-links {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 10px;
}
.social-links a {
text-decoration: none;
color: #00bcd4;
font-size: 1.5em;
transition: color 0.3s;
}
.social-links a:hover {
color: #00838f;
}
.add-new {
background-color: #f5f5f5;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
height: 200px;
cursor: pointer;
transition: background-color 0.3s, box-shadow 0.3s;
}
.add-new:hover {
background-color: #e0e0e0;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.add-new-content {
text-align: center;
}
.plus-icon {
font-size: 3em;
color: #00bcd4;
display: block;
margin-bottom: 10px;
}
.add-new h3 {
font-size: 1.2em;
color: #333;
margin: 0;
}
.college-buttons button {
background-color: #3f68ce;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
margin: 5px;
transition: background-color 0.3s;
}
.college-buttons button:hover {
background-color: #0056b3;
}
/* Add this CSS for the new form dialog */
.dialog-content form {
display: flex;
flex-direction: column;
}
.dialog-content form label {
margin: 10px 0 5px;
}
.dialog-content form input,
.dialog-content form textarea {
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.dialog-content form button {
margin-top: 10px;
}
/* Style for the detail boxes */
.detail-box {
margin-top: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
}
</style>
</head>
<body>
<!-- Top Navigation Bar -->
<div class="navbar">
<a href="#" id="criteria-link">Criteria</a>
<a href="#" id="colleges-link">Colleges</a>
<a href="#" id="resources-link">Resources</a>
<a href="#" id="success-stories-link">Success Stories</a>
</div>
<!-- Main Content Sections -->
<div class="content" id="criteria-content">
<h1>Qualifications and Criteria</h1>
<p>To qualify for college admissions, students should meet the following <span class="emphasize">key qualifications:</span></p>
<ul>
<li><span class="emphasize">Academic Performance:</span> You must have a minimum of 10+2 education with at least 60% marks in English, Maths, and Physics.</li>
<li><span class="emphasize">Age:</span> The minimum age to start pilot training is 17 for a Student Pilot License (SPL) and 18 for a Commercial Pilot License (CPL).</li>
<li><span class="emphasize">Medical fitness:</span> You must pass a Class 1 medical examination conducted by a DGCA-approved doctor.</li>
<li><span class="emphasize">Essays:</span> Many colleges require personal essays as part of the application process.</li>
<li><span class="emphasize">English language proficiency:</span> You must have excellent communication skills in English.</li>
</ul>
</div>
<div class="content" id="colleges-content">
<h1>Top Colleges</h1>
<div class="college-grid">
<!-- College 1 -->
<div class="college-box">
<a href="https://igrua.gov.in/" target="_blank">
<img src="indira_gandhi_college.jpg" alt="IGRUA" />
<h2>Indira Gandhi Rashtriya Uran Akademi (IGRUA)</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 2 -->
<div class="college-box">
<a href="https://www.cae.com/civil-aviation/locations/cae-gondia-nfti/" target="_blank">
<img src="nfi.jpeg" alt="CAE" />
<h2>CAE - National Flying Training Institute</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 3 -->
<div class="college-box">
<a href="https://www.aaa.co.in/" target="_blank">
<img src="ahem_a.jpeg" alt="AAA" />
<h2>Ahmedabad Aviation and Aeronautics Ltd. (AAA)</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 4 -->
<div class="college-box">
<a href="https://www.thebombayflyingclub.com/" target="_blank">
<img src="bombay_flyclub.jpeg" alt="The Bombay Flying Club" />
<h2>The Bombay Flying Club</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 5 -->
<div class="college-box">
<a href="https://rajivgandhiacademyforaviationtechnology.org/" target="_blank">
<img src="rajiv_gandhi.jpg" alt="Rajiv Gandhi Aviation Academy" />
<h2>Rajiv Gandhi Aviation Academy</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 6 -->
<div class="college-box">
<a href="https://socat.silveroakuni.ac.in/" target="_blank">
<img src="silver_oak.webp" alt="Silver Oak University" />
<h2>Silver Oak University</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 7 -->
<div class="college-box">
<a href="https://www.igiaindia.in/" target="_blank">
<img src="janak_igia.png" alt="IGIA" />
<h2>IGIA (Indira Gandhi Institute of Aeronautics) Janakpuri</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
<!-- College 8 -->
<div class="college-box">
<a href="https://www.worldptc.com/" target="_blank">
<img src="ptc.png" alt="PTC Aviation Academy" />
<h2>PTC Aviation Academy</h2>
</a>
<div class="college-buttons">
<button onclick="showDialog('fee-dialog')">Fee Structure</button>
<button onclick="showDialog('exam-dialog')">Exams to Get In</button>
</div>
</div>
</div>
<div class="college-box add-college-box">
<h2>Add a College</h2>
<p>Click below to add a new college to the list.</p>
<button onclick="addCollege()">Add College</button>
</div>
<div class="dialog" id="fee-dialog">
<div class="dialog-content">
<h2>Fee Structure</h2>
<p>The average fee for CPL training in top aviation colleges ranges from INR 20 to 50 lakhs.</p>
<button type="button" onclick="closeDialog('fee-dialog')">Close</button>
</div>
</div>
<div class="dialog" id="add-college-dialog">
<div class="dialog-content">
<h2>Add a New College</h2>
<form id="add-college-form" onsubmit="submitCollegeForm(event)">
<label for="college-name">College Name:</label>
<input type="text" id="college-name" name="college-name" required>
<label for="college-fee">Fee Structure:</label>
<input type="text" id="college-fee" name="college-fee" required>
<label for="college-exams">Exams to Get In:</label>
<input type="text" id="college-exams" name="college-exams" required>
<label for="college-description">Description:</label>
<textarea id="college-description" name="college-description" rows="4" required></textarea>
<label for="college-image">College Image:</label>
<input type="file" id="college-image" name="college-image" accept="image/*" required>
<button type="submit">Add College</button>
<button type="button" onclick="closeDialog('add-college-dialog')">Cancel</button>
</form>
</div>
</div>
<div class="content" id="resources-content">
<h1>Scholarships and Funding Options</h1>
<ul>
<li><strong><a href="https://www.indianairlines.com/" target="_blank">Indian Airlines Scholarship</a>:</strong>
This scholarship is for deserving candidates who have scored well in the 10+2 examination and want to pursue a career in aviation.
</li>
<li><strong><a href="https://www.dgca.gov.in/" target="_blank">Flight Instructor Certificate Scholarships</a>:</strong>
This scholarship covers all training and examination costs for the successful candidate to get their Fixed Wing Flying Instructor Certificate.
</li>
<li><strong><a href="https://www.boeing.co.in/" target="_blank">Boeing Flight Training Scholarship</a>:</strong>
This scholarship is for individuals working toward a private, recreational, or sport pilot certificate or instrument rating.
</li>
<li><strong><a href="https://www.honda2wheelersindia.com/CSR/Home/ProjectSpecific/46" target="_blank">Hero India for Women Scholarship</a>:</strong>
Honda will provide 100% scholarship to 20 deserving young females from Gujarat, Haryana, Rajasthan & Karnataka in becoming commercial pilots.
</li>
</ul>
<h2>Other Funding Options for Pilot Training</h2>
<ul>
<li><a href="https://www.rbi.org.in/" target="_blank">Loans from banks</a>, aviation institutions, and the government</li>
<li>Payment plans or discounts offered by pilot schools and programs</li>
</ul>
<p>Pilot training in India can be expensive, with the average course fee ranging between INR 35 Lakh to INR 40 Lakh. Scholarships can help reduce the financial burden and make pilot training more accessible.</p>
</div>
<div class="content" id="success-stories-content">
<h1>Success Stories</h1>
<!-- Success Stories Grid -->
<div class="success-stories-grid">
<div class="success-story">
<img src="gaurav_taneja.jpeg" alt="Success Story 1" />
<div class="success-story-content">
<h2>Gaurav Taneja</h2>
<p>After cracking the IIT entrance exam in 2004 and going to study civil engineering at IIT Kharagpur, he went on to become a pilot. Being an avid bodybuilder, he started his first YouTube channel in 2017, called Fit Muscle TV. He now has two other channels, Flying Beast and Rasbhari Ke Papa.</p>
<div class="likes">👍 120 Likes</div>
<div class="social-links">
<a href="https://www.linkedin.com/in/" target="_blank" title="LinkedIn">🔗</a>
<a href="https://www.instagram.com/taneja.gaurav/" target="_blank" title="Instagram">📷</a>
<a href="https://www.youtube.com/@FlyingBeast320" target="_blank" title="YouTube">▶️</a>
<a href="mailto:[email protected]" target="_blank" title="Email">✉️</a>
</div>
</div>
</div>
<!-- Add New Success Story Box -->
<div class="add-new">
<div class="add-new-content">
<span class="plus-icon">+</span>
<h3>Add New Success Story</h3>
</div>
</div>
</div>
</div>
<script>
function showContent(sectionId) {
var contents = document.querySelectorAll('.content');
contents.forEach(function(content) {
content.classList.remove('active');
});
// Show the selected section
document.getElementById(sectionId).classList.add('active');
// Remove active class from all navbar links
var navLinks = document.querySelectorAll('.navbar a');
navLinks.forEach(function(link) {
link.classList.remove('active');
});
// Add active class to the clicked link
document.querySelector('#' + sectionId + '-link').classList.add('active');
}
// Function to show the dialog box
function showDialog(dialogId) {
document.getElementById(dialogId).style.display = 'flex'; // Use 'flex' to center the dialog
}
// Function to close the dialog box
function closeDialog(dialogId) {
document.getElementById(dialogId).style.display = 'none';
}
document.getElementById('criteria-link').addEventListener('click', function() {
showContent('criteria-content');
});
document.getElementById('colleges-link').addEventListener('click', function() {
showContent('colleges-content');
});
document.getElementById('resources-link').addEventListener('click', function() {
showContent('resources-content');
});
document.getElementById('success-stories-link').addEventListener('click', function() {
showContent('success-stories-content');
});
// Show the "Criteria" section by default on page load
showContent('criteria-content');
// Function to show the add college dialog
function addCollege() {
document.getElementById('add-college-dialog').style.display = 'flex';
}
// Function to submit the college form
function submitCollegeForm(event) {
event.preventDefault();
const name = document.getElementById('college-name').value;
const fee = document.getElementById('college-fee').value;
const exams = document.getElementById('college-exams').value;
const description = document.getElementById('college-description').value;
const image = document.getElementById('college-image').files[0];
if (!image) {
alert('Please upload an image.');
return;
}
const reader = new FileReader();
reader.onload = function(e) {
const newCollegeBox = document.createElement('a');
newCollegeBox.href = "#";
newCollegeBox.innerHTML = `
<div class="college-box">
<img src="${e.target.result}" alt="${name}" />
<h2>${name}</h2>
<p>${description}</p>
<div class="college-buttons">
<button onclick="toggleDetails('${name}-fee')">Fee Structure</button>
<button onclick="toggleDetails('${name}-exams')">Exams</button>
</div>
<div id="${name}-fee" class="detail-box" style="display: none;">
<p>${fee}</p>
</div>
<div id="${name}-exams" class="detail-box" style="display: none;">
<p>${exams}</p>
</div>
</div>
`;
document.querySelector('.college-grid').appendChild(newCollegeBox);
// Close the dialog after submission
closeDialog('add-college-dialog');
};
reader.readAsDataURL(image);
}
// Function to close any dialog
function closeDialog(dialogId) {
document.getElementById(dialogId).style.display = 'none';
}
// Function to toggle the visibility of details
function toggleDetails(detailId) {
const detailBox = document.getElementById(detailId);
if (detailBox.style.display === 'none') {
detailBox.style.display = 'block';
} else {
detailBox.style.display = 'none';
}
}
</script>
<script>
// JavaScript to toggle visibility of content based on navbar clicks
const links = document.querySelectorAll('.navbar a');
const contentSections = document.querySelectorAll('.content');
links.forEach(link => {
link.addEventListener('click', (e) => {
e.preventDefault();
// Remove active class from all links and content
links.forEach(l => l.classList.remove('active'));
contentSections.forEach(section => section.classList.remove('active'));
// Add active class to the clicked link and corresponding content
link.classList.add('active');
const contentId = link.id.replace('-link', '-content');
document.getElementById(contentId).classList.add('active');
});
});
</script>
</body>
</html>