dealhub/resources/views/components/dashboard/page-heading.blade.php
kusowl f43f92f365 feat(Create deals): broker can create deals
- add deal category migration
- add deals migration and model
- add form to create deal
- add image preview modal when uploading the image
- refactor UI components to support `required` attribute
- refactor input component to support description
- fix some UI components does not support old values
- fix some UI components does not show error messages
2026-01-12 17:48:07 +05:30

18 lines
525 B
PHP

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