dealhub/resources/views/components/icon-square.blade.php
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

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>