feat: add news detail design

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

View file

@ -20,7 +20,7 @@
<div class="hero-image-wrapper">
<f:if condition="{data.image}">
<f:then>
<picture>
<figure>
<!-- WEBP source -->
<source
type="image/webp"
@ -50,7 +50,7 @@
alt="Hero Image"
loading="lazy"
class="hero-image" />
</picture>
</figure>
</f:then>
<f:else>
<p>No image available</p>