kusowl 2fba9f7ab8 refactor: replace user dashboard with explore page and improve broker UI components
- 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.
2026-01-15 15:07:58 +05:30

22 lines
595 B
PHP

@props(['variant' => 'neutral'])
@php
$variants = [
'neutral' => 'bg-black text-white',
'success' => 'bg-green-100 text-green-950',
'error' => 'bg-red-100 text-red-950'
];
$variantClasses = $variants[$variant];
@endphp
<div class="wrapper alert flex items-center space-x-4 py-2 px-4 rounded-lg text-xs font-bold {{$variantClasses}} ">
<div class="flex-1">
{{$slot}}
</div>
<div>
<x-ui.button-sm onclick="removeAlert(this)">
<x-heroicon-o-x-mark class="w-4"/>
</x-ui.button-sm>
</div>
</div>
@vite('resources/js/alert.js')