feat: add news detail design
This commit is contained in:
parent
2ae28cbd87
commit
2604436c7c
9 changed files with 164 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue