dealhub/resources/views/components/dashboard/page-heading.blade.php
kusowl 1275a74506 feat: broker profile
- add morph to relationship
- add profile markup
- modify page-heading.blade.php to accept center and end sections
2026-01-13 18:06:27 +05:30

30 lines
840 B
PHP

@props(['title' => '', 'description' => '', 'backLink' => ''])
<section class="flex space-x-6 items-center justify-between wrapper py-6 shadow">
<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>