forked from aditya-bhaumik/Pathsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscholarships.html
292 lines (285 loc) · 12.1 KB
/
scholarships.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scholarships</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">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--primary-color:#f4f4f4;
--secondary-color:#333;
}
.darkmode{
--primary-color:#333;
--secondary-color:#f4f4f4;
}
header {
background-color: var(--primary-color);
padding: 20px;
color: var(--secondary-color);
position: sticky;
top: 0;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav .logo img {
width: 50px;
margin-right: 10px;
}
nav a {
color: var(--primary-color);
text-decoration: none;
padding: 10px;
transition: background-color 0.3s;
}
nav a:hover {
background-color: #4caf50;
border-radius: 5px;
}
.hero {
background-color: #4caf50;
color: var(--primary-color);
padding: 30px;
text-align: center;
}
.search-bar {
margin: 20px auto;
text-align: center;
position: relative;
}
.search-bar input {
padding: 10px;
width: 300px;
border: 1px solid #ccc;
border-radius: 5px;
}
.search-bar i {
position: absolute;
left: 10px;
top: 10px;
color: #888;
}
.scholarship-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 20px;
}
.scholarship-item {
border: 1px solid #ccc;
border-radius: 5px;
padding: 15px;
margin: 10px;
width: 300px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: transform 0.3s;
background-color: var(--primary-color);
}
.scholarship-item:hover {
transform: scale(1.05);
}
.scholarship-item h2 {
margin-top: 0;
}
.apply-btn {
display: inline-block;
background-color: #4caf50;
color: var(--primary-color);
padding: 10px 15px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s;
}
.apply-btn:hover {
background-color: #45a049;
}
.footer-container {
background-color: var(--primary-color);
color: var(--secondary-color);
padding: 20px;
text-align: center;
margin-top: 20px;
}
.footer-list {
margin: 20px 0;
}
.footer-list h3 {
margin-bottom: 10px;
}
.social-icons li {
display: inline;
margin: 0 10px;
}
.copyright {
margin-top: 10px;
}
@media (max-width: 600px) {
.search-bar input {
width: 80%;
}
.scholarship-item {
width: 100%;
}
}
</style>
<script>
// Function to filter scholarships based on search input
function filterScholarships() {
const input = document.getElementById('searchInput').value.toLowerCase();
const items = document.getElementsByClassName('scholarship-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 applyForScholarship(scholarshipName) {
alert(`You have applied for the ${scholarshipName}.`);
}
</script>
</head>
<body>
<header>
<nav>
<a href="index.html" class="logo"><img src="/P (1).png" alt="PathSphere Logo"> PathSphere</a>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="scholarships.html">Scholarships</a></li>
<li><a href="jobs.html">Jobs</a></li>
<li><a href="forum.html">Forum</a></li>
<li><a href="faqs.html">FAQs</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
<img src="images/dark.png" id="icon" alt="">
</nav>
</header>
<main>
<section class="hero">
<h1>Scholarships</h1>
<p>Find scholarships that match your academic profile and needs.</p>
</section>
<div class="search-bar">
<!-- <i class="fas fa-search"></i> -->
<input type="text" id="searchInput" placeholder="Search for scholarships..." aria-label="Search Scholarships" onkeyup="filterScholarships()">
</div>
<section class="scholarship-list">
<div class="scholarship-item">
<h2>Global Student Scholarship</h2>
<p>Amount: $5,000</p>
<p>Eligibility: International students with a GPA above 3.0</p>
<p>Deadline: December 31, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Global Student Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>STEM Excellence Scholarship</h2>
<p>Amount: $10,000</p>
<p>Eligibility: Students pursuing STEM majors</p>
<p>Deadline: March 15, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('STEM Excellence Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Community Service Scholarship</h2>
<p>Amount: $2,500</p>
<p>Eligibility: Must have 100+ hours of community service</p>
<p>Deadline: June 1, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Community Service Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Artistry in Education Scholarship</h2>
<p>Amount: $3,000</p>
<p>Eligibility: Students majoring in Fine Arts</p>
<p>Deadline: August 15, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Artistry in Education Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Tech Innovators Scholarship</h2>
<p>Amount: $4,000</p>
<p>Eligibility: High school seniors pursuing a career in technology</p>
<p>Deadline: November 30, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Tech Innovators Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Future Leaders Scholarship</h2>
<p>Amount: $5,500</p>
<p>Eligibility: Students with leadership experience</p>
<p>Deadline: January 15, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Future Leaders Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Green Earth Scholarship</h2>
<p>Amount: $3,500</p>
<p>Eligibility: Students majoring in Environmental Science</p>
<p>Deadline: February 28, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Green Earth Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>International Peace Scholarship</h2>
<p>Amount: $6,000</p>
<p>Eligibility: Open to international students</p>
<p>Deadline: April 1, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('International Peace Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Women in Tech Scholarship</h2>
<p>Amount: $7,000</p>
<p>Eligibility: Female students pursuing tech-related fields</p>
<p>Deadline: September 30, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Women in Tech Scholarship')">Apply Now</a>
</div>
<div class="scholarship-item">
<h2>Veteran Scholarship</h2>
<p>Amount: $8,000</p>
<p>Eligibility: Veterans and dependents</p>
<p>Deadline: July 15, 2024</p>
<a href="#" class="apply-btn" onclick="applyForScholarship('Veteran Scholarship')">Apply Now</a>
</div>
</section>
</main>
<div class="footer-container">
<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="forum.html" style="color: var(--secondary-color);">Forum</a></li>
</ul>
</div>
<div class="footer-list">
<h3>Follow Us On</h3>
<ul class="social-icons">
<li><a href="https://github.com" target="_blank" style="color: var(--secondary-color);"><i class="fab fa-github"></i></a></li>
<li><a href="https://instagram.com" target="_blank" style="color: var(--secondary-color);"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://x.com" target="_blank" style="color: var(--secondary-color);"><i class="fa-brands fa-x-twitter"></i></a></li>
<li><a href="https://facebook.com" target="_blank" style="color: var(--secondary-color);"><i class="fab fa-facebook"></i></a></li>
<li><a href="https://linkedin.com" target="_blank" style="color: var(--secondary-color);"><i class="fab fa-linkedin"></i></a></li>
</ul>
</div>
</div>
<div class="copyright">© 2024 PathSphere. All rights reserved.</div>
<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>
</body>
</html>