feat: Reorganizing views

This commit is contained in:
2025-01-08 18:10:26 -05:00
parent f5dbd7e121
commit e414afd95b
20 changed files with 55 additions and 61 deletions

View File

@@ -13,26 +13,22 @@
<ul class="nav-links">
<li>
<a hx-get="/users"
hx-target="#home-content"
hx-swap="outerHTML"
hx-target="body"
hx-push-url="true"
#if(route == "users"): hx-trigger="revealed" #endif
>
Users
</a>
</li>
<li>
<a hx-get="/employees"
hx-target="#home-content"
hx-swap="outerHTML"
hx-target="body"
hx-push-url="true"
#if(route == "employees"): hx-trigger="revealed" #endif
>
Employees
</a>
</li>
<li>
<a hx-get="/vendors?branches=true"
<a hx-get="/vendors"
hx-target="body"
hx-push-url="true"
>
@@ -43,9 +39,6 @@
</nav>
</div>
#import("homeContent")
<!-- <div id="home-content" class="container"> -->
<!-- <p>We're in!</p> -->
<!-- </div> -->
</section>
</div>
#endexport