refactor: migrate users/companies pages to Rappasoft tables; remove unused welcome view

Point 2 (migrate to Rappasoft tables):
- /admin/users now renders <livewire:user-table /> (+ a New user button)
  instead of the custom admin-users component
- /companies now renders <livewire:company-table /> (+ New company button)
  instead of the hand-rolled card list

Point 3 (delete): removed resources/views/welcome.blade.php (unused — '/'
redirects to dashboard).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-17 14:09:15 +02:00
parent fe57388f05
commit 8101f22413
3 changed files with 18 additions and 465 deletions
+6 -1
View File
@@ -15,7 +15,12 @@
<div class="py-12">
<div class="max-w-5xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white rounded-lg shadow p-6">
@livewire('admin-users')
<div class="flex justify-end mb-4">
<a href="{{ route('admin.users.create') }}" class="btn btn-primary btn-sm gap-1" wire:navigate>
<x-heroicon-o-plus class="w-4 h-4" /> {{ __('New user') }}
</a>
</div>
<livewire:user-table />
</div>
</div>
</div>