feat: add news detail design

This commit is contained in:
2024-12-16 21:44:44 +01:00
parent 2ae28cbd87
commit 2604436c7c
9 changed files with 164 additions and 14 deletions

View File

@@ -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>