feat: add news detail design
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div class="textimage-image-wrapper {sizeClass}">
|
||||
<f:if condition="{data.image}">
|
||||
<f:then>
|
||||
<picture class="textimage-picture">
|
||||
<figure class="textimage-picture">
|
||||
<!-- WEBP source -->
|
||||
<source
|
||||
type="image/webp"
|
||||
@@ -46,7 +46,7 @@
|
||||
alt="{data.image.0.alternative}"
|
||||
class="textimage-image"
|
||||
/>
|
||||
</picture>
|
||||
</figure>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<p>No image available</p>
|
||||
|
||||
Reference in New Issue
Block a user