I have tried these following "solutions". None of which work for me.
https://discord.com/channels/830184174198718474/1071208396168110120
https://discord.com/channels/830184174198718474/1110715780716298260
https://gist.github.com/leabs/11e9f20a5580982428824148f62eb2a0
https://www.cyishere.dev/blog/astro-active-nav-item
I have taken this back with no "solution" from above in place.
I've spent hours now trying to figure out how to simply do a dang active state of a menu item when no more than 5 minutes would have sufficed in any other tool. WHY must this be so damn hard...Is there a foolproof ASTRO APPROVED and official way to handle a simple active state?
Screenshot attached. I simply need to add the active class based on the page you're on, on the href that links to the same page.
If the simple things like this continue to be hard I guess we can revert everything back to static html but something tells me this is just a major gap in missing documentation that it continues to be asked and asked again with no real solution from Astro documented.