Skip to content

Commit

Permalink
Fixes:aditya-bhaumik#986-scholar
Browse files Browse the repository at this point in the history
  • Loading branch information
Jashwanth-rit committed Oct 25, 2024
1 parent 7dad8a8 commit aa382d8
Show file tree
Hide file tree
Showing 15 changed files with 435 additions and 325 deletions.
18 changes: 9 additions & 9 deletions components/Footer/Footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- <base href="/Pathsphere/"> -->
<!-- uncomment above line if deploying to github pages -->
<meta charset="UTF-8" />
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href="./styles/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
Expand Down Expand Up @@ -38,18 +38,18 @@ <h3>PathSphere</h3>
<div class="footer-list">
<h3>Quick links</h3>
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="/pages/about/about.html">About us</a></li>
<li><a href="./index.html">Home</a></li>
<li><a href="./pages/about/about.html">About us</a></li>
<li><a href="/pages/contact/contact.html">Contact Us</a></li>
<li>
<a href="/pages/scholarships/scholarships.html">Scholarships</a>
<a href="./pages/scholarships/scholarships.html">Scholarships</a>
</li>
<li><a href="/pages/jobs/jobs.html">Jobs</a></li>
<li><a href="/pages/forum/forum.html">Forum</a></li>
<li><a href="/pages/contributor/index.html">Contributor</a></li>
<li><a href="/pages/terms/index.html">Terms Of Services</a></li>
<li><a href="./pages/jobs/jobs.html">Jobs</a></li>
<li><a href="./pages/forum/forum.html">Forum</a></li>
<li><a href="./pages/contributor/index.html">Contributor</a></li>
<li><a href="./pages/terms/index.html">Terms Of Services</a></li>
<li>
<a href="/pages/privacypolicy/privacypolicy.html">Privacy Policy</a>
<a href="./pages/privacypolicy/privacypolicy.html">Privacy Policy</a>
</li>
</ul>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/GlobalScripts/GlobalScripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="/scripts/script.js"></script>
<script src="./scripts/script.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion components/LoadingScreen/LoadingScreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="/components/LoadingScreen/LoadingScreen.css" />
<link rel="stylesheet" href="./components/LoadingScreen/LoadingScreen.css" />
</head>
<body>
<div id="LoadingScreen">
Expand Down
22 changes: 11 additions & 11 deletions components/Navbar/Navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<header>
<nav id="navbar">

<a href="/index.html" class="logo">
<img src="/images/logo.png" alt="PathSphere Logo" />
<a href="./index.html" class="logo">
<img src="./images/logo.png" alt="PathSphere Logo" />
PathSphere</a>
<button class="hamburger">
<span></span>
Expand All @@ -21,22 +21,22 @@
</button>
<div class="menu">
<ul id="tabs">
<li class="tab"><a href="/index.html">Home</a></li>
<li class="tab"><a href="/pages/scholarship-feature/scholarships.html">Scholarships</a></li>
<li class="tab"><a href="/pages/jobs/jobs.html">Jobs</a></li>
<li class="tab"><a href="/pages/forum/forum.html">Forum</a></li>
<li class="tab"><a href="/pages/faqs/faqs.html">FAQs</a></li>
<li class="tab"><a href="/pages/blog/blog.html">Blog</a></li>
<li class="tab"><a href="./index.html">Home</a></li>
<li class="tab"><a href="./pages/scholarship-feature/scholarships.html">Scholarships</a></li>
<li class="tab"><a href="./pages/jobs/jobs.html">Jobs</a></li>
<li class="tab"><a href="./pages/forum/forum.html">Forum</a></li>
<li class="tab"><a href="./pages/faqs/faqs.html">FAQs</a></li>
<li class="tab"><a href=./pages/blog/blog.html">Blog</a></li>
<li class="tab">
<a href="/pages/login-signup/login-signup.html">
<a href="./pages/login-signup/login-signup.html">
<i class="fa-solid fa-sign-in-alt"></i> Login
</a>
</li>
</ul>
</div>
<img src="/images/dark.png" id="icon" alt="Dark mode toggle" />
<img src="./images/dark.png" id="icon" alt="Dark mode toggle" />
</nav>
</header>
<script src="/components/Navbar/Navbar.js"></script>
<script src="./components/Navbar/Navbar.js"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ window.onload = function () {
let theme = localStorage.getItem("theme");
if (theme === "dark") {
document.body.classList.add("darkmode");
icon.src = "/images/light.png";
icon.src = "./images/light.png";
} else {
document.body.classList.remove("darkmode");
icon.src = "/images/dark.png";
icon.src = "./images/dark.png";
}
};

icon.onclick = function () {
document.body.classList.toggle("darkmode");
if (document.body.classList.contains("darkmode")) {
icon.src = "/images/image.png";
icon.src = "./images/image.png";
localStorage.setItem("theme", "dark");
} else {
icon.src = "/images/dark.png";
icon.src = "./images/dark.png";
localStorage.setItem("theme", "light");
}
};
2 changes: 1 addition & 1 deletion components/ScrollToTop/ScrollToTop.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="/components/ScrollToTop/ScrollToTop.css" />
<link rel="stylesheet" href="./components/ScrollToTop/ScrollToTop.css" />
</head>
<body>
<a class="scroll-top" href="#">
Expand Down
32 changes: 16 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">

<head>
<link rel="stylesheet" href="/styles/styles.css">
<link rel="stylesheet" href="./styles/styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
<link rel="icon" type="image/x-icon" href="/images/pathsphere.png">
<link rel="icon" type="image/x-icon" href="./images/pathsphere.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>

Expand All @@ -31,15 +31,15 @@
<h1>Welcome to PathSphere</h1>
<p>Your gateway to educational and professional resources</p>
<div class="search-container">
<a href="/pages/scholarship-feature/scholarships.html" class="btn">
<a href="./pages/scholarship-feature/scholarships.html" class="btn">
<i class="fa-solid fa-magnifying-glass"></i>
Find Scholarships
</a>
<a href="/pages/jobs/jobs.html" class="btn">
<a href="./pages/jobs/jobs.html" class="btn">
<i class="fa-solid fa-magnifying-glass"></i>
Find Jobs
</a>
<a href="/pages/login-signup/login-signup.html" class="btn">
<a href="./pages/login-signup/login-signup.html" class="btn">
<i class="fa-solid fa-user-plus"></i>
Register
</a>
Expand All @@ -48,37 +48,37 @@ <h1>Welcome to PathSphere</h1>
</section>
<section class="features">
<div class="feature">
<img src="/images/sicon.png" class="feature-img" alt="Scholarships Icon">
<img src="./images/sicon.png" class="feature-img" alt="Scholarships Icon">
<div class="card-details">
<h2>Scholarships</h2>
<p>Discover scholarships tailored to your needs and academic performance.</p>
<a href="/pages/scholarship-feature/scholarships.html" class="btn">Explore</a>
<a href="./pages/scholarship-feature/scholarships.html" class="btn">Explore</a>
</div>
</div>
<div class="feature">
<img src="/images/jicon.png" class="feature-img" alt="Jobs Icon">
<img src="./images/jicon.png" class="feature-img" alt="Jobs Icon">
<h2>Jobs</h2>
<p>Find job
opportunities for educators and professionals.</p>
<a href="/pages/jobs/jobs.html" class="btn">Browse Jobs</a>
<a href="./pages/jobs/jobs.html" class="btn">Browse Jobs</a>
</div>
<div class="feature">
<img src="/images/ficon.png" class="feature-img" alt="testimonial Icon">
<img src="./images/ficon.png" class="feature-img" alt="testimonial Icon">
<h2>Forum</h2>
<p>Join discussions, ask questions, and connect with others.</p>
<a href="/pages/forum/forum.html" class="btn">Join the Forum</a>
<a href="./pages/forum/forum.html" class="btn">Join the Forum</a>
</div>
<div class="feature">
<img src="/images/feedback-testimonial-icon.png" class="feature-img" alt="Forum Icon">
<img src="./images/feedback-testimonial-icon.png" class="feature-img" alt="Forum Icon">
<h2>Testimonials</h2>
<p>Here are the testimonials and reviews.</p>
<a href="/pages/testimonials/testimonials.html" class="btn">Explore</a>
<a href="./pages/testimonials/testimonials.html" class="btn">Explore</a>
</div>
<div class="feature">
<img src="/images/account.png" class="feature-img" alt="Account Icon">
<img src="./images/account.png" class="feature-img" alt="Account Icon">
<h2>Login</h2>
<p>Access your account to manage your applications and profile.</p>
<a href="/pages/login-signup/login-signup.html" class="btn">
<a href="./pages/login-signup/login-signup.html" class="btn">
<i class="fa-solid fa-sign-in-alt"></i>
Login
</a>
Expand Down Expand Up @@ -206,7 +206,7 @@ <h6 class="font-weight-bold my-3">EdTech Professional at Byju's</h6>


</main>
<script src="/scripts/componentLoader.js">
<script src="./scripts/componentLoader.js">
</script>

<script>
Expand Down
20 changes: 10 additions & 10 deletions pages/blog/blog.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href="./styles/styles.css" />
<!-- <base href="/Pathsphere/"> -->
<!-- uncomment above line if deploying to github pages -->
<meta charset="UTF-8" />
Expand Down Expand Up @@ -32,9 +32,9 @@
}
</style>
<!-- Added a favicon -->
<link rel="icon" type="image/x-icon" href="/images/pathsphere.png" />
<link rel="icon" type="image/x-icon" href="./images/pathsphere.png" />
<link rel="stylesheet" href="./blog.css" />
<link rel="stylesheet" href="/styles/essential.css" />
<link rel="stylesheet" href="./styles/essential.css" />

</head>

Expand Down Expand Up @@ -72,7 +72,7 @@ <h1 class="heading">Scholarship <span>Blogs</span></h1>
onclick="redirectToBlog('https://example.com/blog1')"
>
<div class="blog-image">
<img src="/images/sc1.jpg" alt="Scholarship Blog 1" />
<img src="./images/sc1.jpg" alt="Scholarship Blog 1" />
</div>
<div class="blog-content">
<h3>Kishore Vaigyanik Protsahan Yojana (KVPY):</h3>
Expand All @@ -94,7 +94,7 @@ <h3>Kishore Vaigyanik Protsahan Yojana (KVPY):</h3>
onclick="redirectToBlog('https://example.com/blog2')"
>
<div class="blog-image">
<img src="/images/sc2.webp" alt="Scholarship Blog 2" />
<img src="./images/sc2.webp" alt="Scholarship Blog 2" />
</div>
<div class="blog-content">
<h3>National Means Cum Merit Scholarship (NMMS)</h3>
Expand All @@ -116,7 +116,7 @@ <h3>National Means Cum Merit Scholarship (NMMS)</h3>
onclick="redirectToBlog('https://example.com/blog2')"
>
<div class="blog-image">
<img src="/images/sc3.jpeg" alt="Scholarship Blog 2" />
<img src="./images/sc3.jpeg" alt="Scholarship Blog 2" />
</div>
<div class="blog-content">
<h3>Prime Minister's Scholarship Scheme (PMSS)</h3>
Expand All @@ -137,7 +137,7 @@ <h3>Prime Minister's Scholarship Scheme (PMSS)</h3>
onclick="redirectToBlog('https://example.com/blog2')"
>
<div class="blog-image">
<img src="/images/sc4.jpg" alt="Scholarship Blog 2" />
<img src="./images/sc4.jpg" alt="Scholarship Blog 2" />
</div>
<div class="blog-content">
<h3>
Expand All @@ -162,7 +162,7 @@ <h3>
onclick="redirectToBlog('https://example.com/blog2')"
>
<div class="blog-image">
<img src="/images/sc5.jpg" alt="Scholarship Blog 2" />
<img src="./images/sc5.jpg" alt="Scholarship Blog 2" />
</div>
<div class="blog-content">
<h3>AICTE Pragati Scholarship for Girls</h3>
Expand All @@ -185,7 +185,7 @@ <h3>AICTE Pragati Scholarship for Girls</h3>
onclick="redirectToBlog('https://example.com/blog2')"
>
<div class="blog-image">
<img src="/images/sc6.jpg" alt="Scholarship Blog 2" />
<img src="./images/sc6.jpg" alt="Scholarship Blog 2" />
</div>
<div class="blog-content">
<h3>Inspire Scholarship</h3>
Expand Down Expand Up @@ -223,7 +223,7 @@ <h1>Sign Up for Newsletters</h1>
<div id="toast-container" class="toast-container"></div>
</main>

<script src="/scripts/componentLoader.js"></script>
<script src="./scripts/componentLoader.js"></script>
<script>
prependComponent('Navbar');
prependComponent('ScrollToTop');
Expand Down
4 changes: 2 additions & 2 deletions pages/contributor/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href="./styles/styles.css" />
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="../../images/pathsphere.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down Expand Up @@ -72,7 +72,7 @@ <h2>Ready to Make an Impact?</h2>
</div>
</section>

<script src="/scripts/componentLoader.js"></script>
<script src="./scripts/componentLoader.js"></script>
<script>
prependComponent('Navbar');
prependComponent('Cursor');
Expand Down
8 changes: 4 additions & 4 deletions pages/faqs/faqs.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href=".styles/styles.css" />

<!-- <base href="/Pathsphere/"> -->
<!-- uncomment above line if deploying to github pages -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PathSphere | FAQs</title>
<!-- Added a favicon -->
<link rel="icon" type="image/x-icon" href="/images/pathsphere.png" />
<link rel="icon" type="image/x-icon" href="./images/pathsphere.png" />

<link rel="stylesheet" href="faqs.css" />
<link rel="stylesheet" href="/styles/essential.css" />
<link rel="stylesheet" href="./styles/essential.css" />
</head>
<body>
<main>
Expand Down Expand Up @@ -204,7 +204,7 @@ <h2 class="process__title title">FAQs</h2>

</main>

<script src="/scripts/componentLoader.js"></script>
<script src="./scripts/componentLoader.js"></script>
<script>
prependComponent("Navbar");
prependComponent('Cursor');
Expand Down
Loading

0 comments on commit aa382d8

Please sign in to comment.