dealhub/resources/views/components/ui/image-card.blade.php
kusowl a248d3fc79 feat(deal update and delete): broker can update and delete their deals
- show external links in listings
- refactor image-input.blade.php to display image while update
- refactor image-input.js to show selected image after user clicks submit
- refactor components to accept default value
- add FileService to handle image update and delete
2026-01-13 15:10:55 +05:30

12 lines
318 B
PHP

@props(['image' => '', 'alt' => ''])
<div class="border border-gray-200 rounded-xl overflow-clip">
<div class="flex flex-col">
<div class="rounded-t-xl h-40">
<img src="{{$image}}" alt="" class="object-cover">
</div>
<div>
{{$slot}}
</div>
</div>
</div>