Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Rambomst
Copy link
Contributor

Introduced currentPath tracking in the context to determine the active navigation link dynamically. Updated templates, CSS, and routes to style active links and improve navigation usability.

Removed string output from /health endpoint to restore valid JSON output.

Active nav links based on page being viewed:
image
image

note
I haven't really coded in Go before, if this should be done differently let me know, happy to change it :)

Introduced `currentPath` tracking in the context to determine the active navigation link dynamically. Updated templates, CSS, and routes to style active links and improve navigation usability.

Removed string output from /health endpoint to restore valid JSON output.
@dwot
Copy link
Owner

dwot commented May 14, 2025

Thank you again, I'll get this pulled and released this evening. TBH, Go is relatively new for me as well and I'm sure I've been a bit rough / fast with some of the things I've done. I've got a refactor branch locally where I'm trying to clean up and organize things a bit better. Appreciate the help tightening things up.

- Changed the button class from `btn-primary` to `btn-success` in `header2.html`.
@dwot dwot self-requested a review June 15, 2025 15:46
@dwot dwot merged commit 2a08862 into dwot:main Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants