basic search implementation

This commit is contained in:
Jacky Zhao
2023-06-19 20:37:45 -07:00
parent c4cf0dcb02
commit fd5c8d17d3
26 changed files with 751 additions and 182 deletions

View File

@ -39,6 +39,7 @@ document.addEventListener("nav", () => {
const popoverElement = document.createElement("div")
popoverElement.classList.add("popover")
// TODO: scroll this element if we specify a header/anchor to jump to
const popoverInner = document.createElement("div")
popoverInner.classList.add("popover-inner")
popoverElement.appendChild(popoverInner)