muted nm-dmg tier colors, updated navbar/search/menu to follow new "brand", modified auth for features, new homepage

This commit is contained in:
Zach Harding
2026-04-09 11:34:37 -04:00
parent d5dbb7718d
commit 7b1f470ee9
20 changed files with 731 additions and 165 deletions

View File

@@ -1,6 +1,7 @@
---
import BackToTop from "./BackToTop.astro"
---
<div class="container-fluid container-sm mt-3">
<div class="row mb-4">
<div class="col-md-2">
<div class="h5 d-none">Inventory management placeholder</div>
@@ -43,6 +44,7 @@ import BackToTop from "./BackToTop.astro"
</button>
<BackToTop />
</div>
<script is:inline>
(function () {
@@ -646,6 +648,15 @@ import BackToTop from "./BackToTop.astro"
document.addEventListener('DOMContentLoaded', () => {
initInventoryForms();
const pending = sessionStorage.getItem('pendingSearch');
if (pending) {
sessionStorage.removeItem('pendingSearch');
const input = document.getElementById('searchInput');
if (input) input.value = pending;
// The form's hx-trigger="load" will fire automatically on page load,
// picking up the pre-populated input value — no manual trigger needed.
}
});
})();