musicbinder icon indicating copy to clipboard operation
musicbinder copied to clipboard

Change navigation link for "About" to use hx-get request

Open tataraba opened this issue 1 year ago • 0 comments

Instead of using an <a href> tag for the "About" link, change it to use an hx-get request instead. By doing this, we can request that only the element within the "content" section changes.

Using the Jinja2Blocks object, we can also choose what {% block ... %} to render from the Jinja template.

Things to remember, since this is no longer an <a href> element, the pointer/cursor will need to be stylized with tailwind to emulate the hover effect on an <a href> link.

Also, will need to use htmx to send the correct endpoint to the url.

tataraba avatar Apr 06 '23 05:04 tataraba