Restructure Core management into linkable routes and add common layout navigation

- Renamed person route to people for consistency
- Refactored /core dashboard to use standard <a> links
- Added common management <nav> to core layout
- Replaced goto() with standard links across all list and detail pages
- Fixed 500 error caused by broken import path and strict layout data
This commit is contained in:
Scott Idem
2026-01-06 15:33:08 -05:00
parent 5d2186e8ca
commit a0f04726e0
14 changed files with 135 additions and 167 deletions

View File

@@ -72,9 +72,9 @@
<div class="container mx-auto p-4 space-y-6">
<header class="flex justify-between items-center">
<div class="flex items-center gap-4">
<button class="btn btn-sm variant-soft" onclick={() => goto('/core/accounts')}>
<a class="btn btn-sm variant-soft" href="/core/accounts">
<ArrowLeft size={16} />
</button>
</a>
<div class="flex items-center gap-2">
<Building size={24} />
<h1 class="h2">{account?.name ?? 'Loading Account...'}</h1>