update
This commit is contained in:
70
footer.php
70
footer.php
@@ -37,6 +37,27 @@
|
||||
</div>
|
||||
<p class="subtitle mt--30">If you plan to study abroad, Pathfinder Consultancy provides trusted guidance and expert support.</p>
|
||||
</div>
|
||||
<div class="social-icon-wrapper">
|
||||
<ul class="social-icon social-default icon-naked">
|
||||
<li class="fb"><a href="https://www.facebook.com/" target="_blank">
|
||||
<i class="feather-facebook"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="x"><a href="https://www.twitter.com/" target="_blank">
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
<li class="insta"><a href="https://www.instagram.com/" target="_blank">
|
||||
<i class="feather-instagram"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="linkdin"><a href="https://www.linkdin.com/" target="_blank">
|
||||
<i class="feather-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-6 col-sm-6 col-12">
|
||||
<div class="tmp-footer-widget">
|
||||
@@ -101,23 +122,6 @@
|
||||
<a href="mailto:info@pathfinders.com.np">info@pathfinders.com.np</a>
|
||||
</p>
|
||||
|
||||
<ul class="social-icon social-default justify-content-start">
|
||||
<li><a href="https://www.facebook.com/pathfinderedu">
|
||||
<i class="feather-facebook"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="https://x.com/home">
|
||||
<i class="fa-brands fa-x-twitter"></i>
|
||||
</a>
|
||||
<li><a href="https://www.instagram.com/pathfinders_international_edu/">
|
||||
<i class="feather-instagram"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="#">
|
||||
<i class="feather-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -255,6 +259,38 @@
|
||||
|
||||
<!-- JS
|
||||
============================================ -->
|
||||
<script>
|
||||
const buttons = document.querySelectorAll('.faq-buttons button');
|
||||
const groups = document.querySelectorAll('.faq-group');
|
||||
|
||||
// INITIAL STATE: show only "about"
|
||||
groups.forEach(g => g.classList.add('d-none'));
|
||||
document.getElementById('about').classList.remove('d-none');
|
||||
|
||||
buttons.forEach(btn => {
|
||||
btn.addEventListener('click', () => {
|
||||
const target = btn.dataset.faq;
|
||||
const group = document.getElementById(target);
|
||||
|
||||
if (group.classList.contains('d-none')) {
|
||||
// Hide all
|
||||
groups.forEach(g => g.classList.add('d-none'));
|
||||
buttons.forEach(b => b.classList.remove('active'));
|
||||
|
||||
// Show current
|
||||
group.classList.remove('d-none');
|
||||
btn.classList.add('active');
|
||||
} else {
|
||||
// Optional: clicking same button again hides it
|
||||
group.classList.add('d-none');
|
||||
btn.classList.remove('active');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user