- 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.
30 lines
847 B
PHP
30 lines
847 B
PHP
@props(['title' => '', 'description' => '', 'backLink' => ''])
|
|
<section class="flex space-x-6 items-center justify-between wrapper py-6 shadow w-full">
|
|
<div class="flex space-x-6 items-center">
|
|
@if($backLink !== '')
|
|
<div class="">
|
|
<a href="{{$backLink}}">
|
|
<x-heroicon-o-arrow-left class="w-4"/>
|
|
</a>
|
|
</div>
|
|
@endif
|
|
<div class="">
|
|
<h1 class="text-xl font-bold">{{$title}}</h1>
|
|
@if($description !== '')
|
|
<p class="text-sm text-accent-600">{{$description}}</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<div class="">
|
|
@isset($center)
|
|
{{ $center }}
|
|
@endisset
|
|
</div>
|
|
|
|
<div class="">
|
|
@isset($end)
|
|
{{ $end }}
|
|
@endisset
|
|
</div>
|
|
</section>
|