forked from aditya-bhaumik/Pathsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjobs.html
144 lines (122 loc) · 5.61 KB
/
jobs.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jobs</title>
<!-- Added a favicon -->
<link rel="icon" type="image/x-icon" href="images\pathsphere.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="jobs.css">
<!-- <<<<<<< enhanceFAQ -->
<!-- <style>
Removed css code from here and created a new file jobs.css
</style> -->
<script>
// Function to filter jobs based on search input
const hamburger = document.querySelector('.hamburger');
const menu = document.querySelector('.menu');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('active');
menu.classList.toggle('active');
function filterJobs() {
const input = document.getElementById('searchInput').value.toLowerCase();
const items = document.getElementsByClassName('job-item');
Array.from(items).forEach(item => {
const title = item.getElementsByTagName('h2')[0].textContent.toLowerCase();
if (title.includes(input)) {
item.style.display = '';
} else {
item.style.display = 'none';
}
});
}
// Function to simulate the application process
function applyForJob(jobTitle) {
alert(`You have applied for the ${jobTitle}.`);
}
</script>
<!-- >>>>>>> main -->
</head>
<body>
<header>
<nav id="navbar"> <!-- Add an ID to the nav -->
<a href="index.html" class="logo"><img src="logo.png" alt="PathSphere Logo"> PathSphere</a>
<button class="hamburger">
<span></span>
<span></span>
<span></span>
</button>
<nav class="menu">
<ul id="tabs">
<li class="tab"><a href="index.html">Home</a></li>
<li class="tab"><a href="scholarships.html">Scholarships</a></li>
<li class="tab"><a href="jobs.html">Jobs</a></li>
<li class="tab"><a href="forum.html">Forum</a></li>
<li class="tab"><a href="faqs.html">FAQs</a></li>
<li class="tab"><a href="blog.html">Blog</a></li>
</ul>
</nav>
<div class="cursor"></div>
<img src="images/dark.png" id="icon" alt="">
</nav>
</header>
<main style="position: absolute;">
<section class="hero-class" id = "job-hero-section">
<div class="hero-class-inner">
<h1>Jobs</h1>
<p>Explore job opportunities for educators and professionals.</p>
</div>
</section>
<div class="search-bar">
<input type="text" id="search-input" placeholder="Search jobs...">
<button id="search-button">Search</button>
</div>
<div class="job-listings">
<h2>Job Listings</h2>
<div id="jobs" class="main">
<!-- Cards will be generated here by JavaScript -->
</div>
</div>
</main>
<div class="footer-container" style="position: relative; top: 3700px;">
<div class="footer-description">
<h3>PathSphere</h3>
<p>PathSphere is a comprehensive platform designed to connect students with scholarship opportunities and
educators with job openings. It features dynamic search tools and community discussions to enhance
access to educational and career resources.</p>
</div>
<div class="footer-list">
<h3>Quick Links</h3>
<ul>
<li><a href="index.html" style="color: var(--secondary-color);">Home</a></li>
<li><a href="scholarships.html" style="color: var(--secondary-color);">Scholarships</a></li>
<li><a href="jobs.html" style="color: var(--secondary-color);">Jobs</a></li>
<li><a href="about.html" style="color: var(--secondary-color);">About Us</a></li>
<li><a href="forum.html" style="color: var(--secondary-color);">Forum</a></li>
</ul>
</div>
<div class="footer-list">
<h3>Follow Us On</h3>
<div class="social-icons">
<ul>
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
<a href="#"><i class="fa-brands fa-github"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-facebook"></i></a>
</ul>
</div>
</div>
</div>
<div class="copyright">© 2024 PathSphere. All rights reserved.</div>
<button class="scroll-up-btn">
<i class="arrow-up" style=" width: 15px; height: 15px;"></i>
</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js" integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="script.js"></script>
<script src="jobs.js"></script>
<!-- Add this code before the closing body tag -->
</body>
</html>