made the resume better (is collpased by default,
and can be expanded)
This commit is contained in:
@ -161,6 +161,19 @@
|
||||
true
|
||||
);
|
||||
|
||||
on("click", "#resume-toggle", e => {
|
||||
console.log("sup")
|
||||
const sec = select("#resume-section");
|
||||
const btn = e.target;
|
||||
sec.classList.toggle("expanded");
|
||||
select(".resume-fade").classList.toggle("expanded");
|
||||
if (sec.classList.contains("expanded"))
|
||||
btn.innerHTML = 'Hide <i class="bi bi-chevron-up"></i>';
|
||||
else
|
||||
btn.innerHTML = 'Expand <i class="bi bi-chevron-down"></i>';
|
||||
AOS.refresh();
|
||||
})
|
||||
|
||||
/**
|
||||
* Scroll with ofset on page load with hash links in the url
|
||||
*/
|
||||
|
Reference in New Issue
Block a user