We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5d238 commit 049b1c1Copy full SHA for 049b1c1
src/resources/views/public/show.blade.php
@@ -15,7 +15,12 @@
15
<article class="object">
16
<h1 class="object-title">{{ $model->title }}</h1>
17
@empty(!$model->image)
18
- <img class="object-image" src="{!! $model->present()->image(null, 1000) !!}" alt="">
+ <picture class="object-picture">
19
+ <img class="object-picture-image" src="{!! $model->present()->image(2000, 1000) !!}" alt="">
20
+ @empty(!$model->image->description)
21
+ <legend class="object-picture-legend">{{ $model->image->description }}</legend>
22
+ @endempty
23
+ </picture>
24
@endempty
25
@empty(!$model->summary)
26
<p class="object-summary">{!! nl2br($model->summary) !!}</p>
0 commit comments