About this block
data-scrollspy on a nav sets aria-current="true" on the link whose #target is most visible, and clears it on the others. The highlight is plain CSS on aria-current, so you style it any way you like.
How to customize it
- Every link must be an in-page anchor (#id) pointing at an element with that id. Add or remove links and sections together.
- scroll-mt-24 on each section keeps its title clear of a fixed header when a link jumps to it.
- Change the aria-[current=true]: classes on the links to restyle the active state.