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 f04da3d commit 316ef2fCopy full SHA for 316ef2f
src/resources/views/public/show.blade.php
@@ -19,7 +19,12 @@
19
<article class="project">
20
<h1 class="project-title">{{ $model->title }}</h1>
21
@empty(!$model->image)
22
- <img class="project-image" src="{!! $model->present()->image(null, 1000) !!}" alt="">
+ <picture class="project-picture">
23
+ <img class="project-picture-image" src="{!! $model->present()->image(2000, 1000) !!}" alt="">
24
+ @empty(!$model->image->description)
25
+ <legend class="project-picture-legend">{{ $model->image->description }}</legend>
26
+ @endempty
27
+ </picture>
28
@endempty
29
@empty(!$model->summary)
30
<p class="project-summary">{!! nl2br($model->summary) !!}</p>
0 commit comments