move shops to new page; live vs mock navbar

This commit is contained in:
2026-02-06 16:37:55 -07:00
parent 548f72d9a4
commit e3b2dd3377
11 changed files with 265 additions and 345 deletions
@@ -0,0 +1,23 @@
{{- .Auth.ByMatchingAccountID 2 }}
{{- define "title" }} Inventory++ Mock Shops {{ end }}
{{- $acctID := .Identity.Account.AccountID }}
<section
id="mock-shops-section"
class="
m-[1rem]
pb-[1rem]
"
>
<ul class="list-none" hx-swap="morph">
{{- range $i, $platform := .Accounts.GetOrderOfPlatformsOnAccountPage $acctID }}
{{ component (printf "/accounts/%d/platforms/%s/shops/list-item" $acctID $platform)
"OrderIndex" $i
"Mock" true
}}
{{- end }}
</ul>
</section>