fleetCatalogue/resources/views/components/image-modal.blade.php

5 lines
251 B
PHP
Raw Normal View History

@props(['image', 'id'])
<input type="checkbox" id="{{ $id }}" class="modal-toggle" />
<div class="modal">
2023-10-14 11:15:27 +00:00
<label class="w-full h-full flex" for="{{ $id }}"><img class="h-auto min-w-[70vw] max-w-[70vw] m-auto" src="{{ asset($image) }}"></label>
</div>