- 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.
6 lines
240 B
PHP
6 lines
240 B
PHP
@props([ 'link' => ''])
|
|
@aware(['activeClass' => 'bg-gray-100 text-gray-900'])
|
|
<a href="{{$link}}" {{$attributes->class(["flex space-x-3 items-center py-3 px-4 rounded-xl", $activeClass => url()->current() == $link])}} >
|
|
{{$slot}}
|
|
</a>
|