- Removed `UserDashboardController` and related user dashboard views. - Introduced `ExplorePageController` and redesigned `explore.blade.php` as the main user-facing page. - Updated routing logic to redirect users (non-admin and non-broker) to the `explore` page. - Added dedicated sidebar and layout components for the broker dashboard, improving structure and navigation.
14 lines
392 B
PHP
14 lines
392 B
PHP
@props(['variant' => 'ghost'])
|
|
@php
|
|
$variants = [
|
|
'blue' => "bg-blue-100 text-blue-700",
|
|
'purple' => "bg-purple-100 text-purple-700",
|
|
'pink' => "bg-pink-100 text-pink-700",
|
|
'green' => "bg-green-100 text-green-700",
|
|
'ghost' => 'bg-gray-100 text-gray-900'
|
|
]
|
|
@endphp
|
|
<div class="p-4 {{$variants[$variant]}} w-fit rounded-xl">
|
|
{{$slot}}
|
|
</div>
|