feat: add news detail design
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user