- 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.
10 lines
322 B
PHP
10 lines
322 B
PHP
@props(['deals' => []])
|
|
<div class="grid md:grid-cols-2 gap-6">
|
|
@forelse($deals as $deal)
|
|
@ds($deal)
|
|
<x-dashboard.user.listing-card :deal="$deal" :broker="$deal->broker"/>
|
|
@empty
|
|
<p class="col-span-2 text-sm text-center text-accent-600">No Deals found till now !</p>
|
|
@endforelse
|
|
</div>
|