Skip to content

feat(ui): Restyle top navigation bar and banner #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phiro56
Copy link
Contributor

@phiro56 phiro56 commented Jul 17, 2025

feat(ui): Restyle top navigation bar and banner

  • Add banner close functionality with 24-hour persistence
Screenshot 2025-07-16 at 6 22 40 PM

- Add banner close functionality with 24-hour persistence

Signed-off-by: Daniel Phillips <phiro56@gmail.com>
@@ -11,6 +11,9 @@
<div class="width-limiter">
{{ config.extra.banner | markdown | safe}}
</div>
<a href="/" class="close-banner">
<img src="/img/icon-outline-close.svg" alt="Icon Close" width="24" height="24"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this image is included in the PR - when I preview the site it gives me a broken image.
Screenshot 2025-07-23 at 3 09 29 PM

@@ -30,7 +59,10 @@ function setActiveMenuItem() {
}

// Run when DOM is loaded
document.addEventListener('DOMContentLoaded', setActiveMenuItem);
document.addEventListener('DOMContentLoaded', function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In preview, I get a rather annoying flash and reposition on every page load because it starts on DOMContentLoaded. I know this sort of thing is limited because the site is basically flat files, but as-is it's not a good user experience.

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