- Created a dedicated UserDashboardController to handle user-related logic. - Added deal listing views and components for users, including action toolbars, broker contact, and stat badges. - Refactored UI components to support new features like toggle buttons and improved input handling. - Updated routes with a new prefix for user-related pathways, ensuring a better structure across dashboards.
20 lines
605 B
PHP
20 lines
605 B
PHP
<x-layout title="Broker Dashboard">
|
|
<section class="flex flex-col space-y-8 bg-[#F9FAFB]">
|
|
<x-dashboard.broker.navbar/>
|
|
|
|
<div class="wrapper">
|
|
@session('success')
|
|
<x-ui.alert variant="success">{{$value}}</x-ui.alert>
|
|
@endsession
|
|
|
|
@session('error')
|
|
<x-ui.alert variant="error">{{$value}}</x-ui.alert>
|
|
@endsession
|
|
</div>
|
|
|
|
<x-dashboard.broker.stats :list_count="$deals->count()"/>
|
|
<x-dashboard.broker.listing :deals="$deals"/>
|
|
</section>
|
|
@vite('resources/js/nav-menu.js')
|
|
</x-layout>
|