forked from aditya-bhaumik/Pathsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
391 lines (346 loc) · 13.7 KB
/
blog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blogs</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>
.blogs-section {
padding: 50px 0;
background-color: #f9f9f9;
text-align: center;
}
.blog-content img {
object-fit: cover;
}
.heading {
font-size: 36px;
color: #333;
margin-bottom: 30px;
/* margin-top: 30px; */
}
.heading span {
color: #ff6347;
}
.blogs-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.blog-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s;
width: 30%;
margin-bottom: 20px;
}
.blog-card:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.blog-image img {
width: 100%;
height: 200px;
object-fit: cover;
}
.blog-content {
padding: 20px;
text-align: left;
}
.blog-content h3 {
font-size: 24px;
color: #333;
margin-bottom: 10px;
}
.blog-content p {
font-size: 16px;
color: #666;
}
.newsletter {
height: 150px;
width: 100%;
background-color: #f9f9f9;
margin: 30px 0;
display: flex;
flex-direction: row;
justify-content: space-between;
text-align: center;
align-items: center;
}
.newsletter-left {
margin-left: 60px;
}
.newsletter-left h1 {
font-size: 1.5rem;
font-family: Poppins;
font-weight: 500;
color: black;
}
.newsletter-left p {
font-size: 1rem;
font-family: Poppins;
font-weight: 300;
}
.input-group {
display: flex;
align-items: center;
margin-right: 150px;
}
.input {
min-height: 50px;
width: 250px;
padding: 0 1rem;
color: #fff;
font-size: 15px;
border: 1px solid #088178;
border-radius: 6px 0 0 6px;
background-color: transparent;
}
.button--submit {
min-height: 50px;
padding: .5em 1em;
border: none;
border-radius: 0 6px 6px 0;
background-color: #088178;
color: #fff;
font-size: 15px;
cursor: pointer;
transition: background-color .3s ease-in-out;
}
.button--submit:hover {
background-color: #00bfa6a4;
}
.copyright {
font-size: 1rem;
margin-top: 20px;
margin-bottom: 20px;
}
.input:focus,
.input:focus-visible {
border-color: #05efe0;
outline: none;
}
@media (max-width: 768px) {
.blog-card {
width: 45%;
}
}
@media (max-width: 576px) {
.blog-card {
width: 100%;
}
}
</style>
</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>
<!-- hero section -->
<section class="hero">
<div class="left">
<h1>Scholarship Blogs</h1>
<p>Your Ultimate Guide to Scholarships: Funding Your Dreams Made Easy</p>
</div>
</section>
<!-- Blogs Section Starts Here -->
<section class="blogs-section" id="blogs">
<h1 class="heading"> Scholarship <span>Blogs</span></h1>
<div class="blogs-container">
<!-- Blog 1 -->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog1')">
<div class="blog-image">
<img src="./images/sc1.jpg" alt="Scholarship Blog 1">
</div>
<div class="blog-content">
<h3>Kishore Vaigyanik Protsahan Yojana (KVPY):</h3>
<p>Funded by the Department of Science and Technology (DST), KVPY encourages students pursuing
careers in research in basic sciences.</p>
</div>
</div>
<!-- Blog 2 -->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog2')">
<div class="blog-image">
<img src="./images/sc2.webp" alt="Scholarship Blog 2">
</div>
<div class="blog-content">
<h3>National Means Cum Merit Scholarship (NMMS)</h3>
<p>Offered by the Government of India to economically weaker students.Open for: Class 9 students
with a family income below ₹1.5 lakh per annum.Scholarship Amount: ₹12,000 per annum.</p>
</div>
</div>
<!-- Blog 3 -->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog2')">
<div class="blog-image">
<img src="./images/sc3.jpeg" alt="Scholarship Blog 2">
</div>
<div class="blog-content">
<h3>Prime Minister's Scholarship Scheme (PMSS)</h3>
<p>Provided to the children of ex-servicemen and ex-coast guard personnel.Scholarship Amount:
₹2,500 to ₹3,000 per month.</p>
</div>
</div>
<!--Blog4-->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog2')">
<div class="blog-image">
<img src="./images/sc4.jpg" alt="Scholarship Blog 2">
</div>
<div class="blog-content">
<h3>Central Sector Scheme of Scholarships for College and University Students</h3>
<p>Managed by the Ministry of Education for meritorious students from economically weaker
sections.Scholarship Amount: ₹10,000 per annum (UG), ₹20,000 per annum (PG).</p>
</div>
</div>
<!--Blog5-->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog2')">
<div class="blog-image">
<img src="./images/sc5.jpg" alt="Scholarship Blog 2">
</div>
<div class="blog-content">
<h3>AICTE Pragati Scholarship for Girls</h3>
<p>Aimed at promoting the education of girl students in technical fields.Open for: Girl students
in their first year of a technical diploma or degree program.Scholarship Amount: ₹30,000 per
annum + tuition fees.</p>
</div>
</div>
<!--Blog6-->
<div class="blog-card" onclick="redirectToBlog('https://example.com/blog2')">
<div class="blog-image">
<img src="./images/sc6.jpg" alt="Scholarship Blog 2">
</div>
<div class="blog-content">
<h3>Inspire Scholarship</h3>
<p>Part of the Innovation in Science Pursuit for Inspired Research (INSPIRE) program by the
Department of Science and Technology.Scholarship Amount: ₹80,000 per annum.</p>
</div>
</div>
</div>
</section>
<!-- Blogs Section Ends Here -->
<div class="newsletter">
<div class="newsletter-left">
<h1>Sign Up for Newsletters</h1>
<p>Get updates in your E-mail about <span>latest deals and products</span></p>
</div>
<div class="newsletter-right">
<div class="input-group">
<input type="email" class="input" id="Email" name="Email" placeholder="[email protected]"
autocomplete="off">
<input class="button--submit" value="Subscribe" type="submit">
</div>
</div>
</div>
</main>
<!-- footer section -->
<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">Home</a></li>
<li><a href="scholarships.html">Scholarships</a></li>
<li><a href="jobs.html">Jobs</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="forum.html">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>
document.querySelectorAll('.like-button').forEach(button => {
button.addEventListener('click', function () {
this.classList.toggle('liked');
});
});
document.querySelectorAll('.submit-comment').forEach(button => {
button.addEventListener('click', function () {
const textarea = this.previousElementSibling;
const comment = textarea.value.trim();
if (comment) {
alert(`Comment submitted: ${comment}`);
textarea.value = '';
} else {
alert('Please enter a comment.');
}
});
});
// Subscribe button functionality
document.getElementById('subscribe-button').addEventListener('click', function () {
const emailInput = document.getElementById('newsletter-input');
const email = emailInput.value.trim();
if (email) {
alert(`Thank you for subscribing with ${email}!`);
emailInput.value = ''; // Clear the input
} else {
alert('Please enter a valid email address.');
}
});
// Read more functionality
document.querySelectorAll('.read-more').forEach(button => {
button.addEventListener('click', function () {
const additionalContent = this.nextElementSibling;
additionalContent.style.display = additionalContent.style.display === 'none' || additionalContent.style.display === '' ? 'block' : 'none';
this.textContent = additionalContent.style.display === 'block' ? 'Read less' : 'Read more';
});
});
</script>
<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>
function redirectToBlog(url) {
window.open(url, 'paste_the_url_as_choice');
}
</script>
<script src="script.js"></script>
</body>
</html>