feat(11-02): add Sites to sidebar navigation and tenant index page

- MapPin icon and Sites nav link in sidebar Fleet section
- Tenant index shows Sites count card in 3-column grid
- "Manage sites" link added to tenant index bottom links

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-18 21:46:53 -05:00
parent 40f2bcd9aa
commit e8c69fb6a6
2 changed files with 39 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ import {
ClipboardList,
Wifi,
BarChart3,
MapPin,
} from 'lucide-react'
import { cn } from '@/lib/utils'
import { useAuth, isSuperAdmin, isTenantAdmin } from '@/lib/auth'
@@ -110,6 +111,15 @@ export function Sidebar() {
},
]
: []),
...(!isSuperAdmin(user) && user?.tenant_id
? [
{
label: 'Sites',
href: `/tenants/${user.tenant_id}/sites`,
icon: MapPin,
},
]
: []),
{
label: 'Wireless',
href: '/wireless',