aboutsummaryrefslogtreecommitdiff
path: root/lume/src
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-05-23 17:26:15 -0400
committerXe Iaso <me@xeiaso.net>2024-05-23 17:26:15 -0400
commitf1118cbd7ddea56c165f2643f938aee0248e23a3 (patch)
tree9fc6c931e94800656c46e5e0d502b8e1bab3ccb5 /lume/src
parent7e2e630284d18bb633bec873b9eedd0cd6dc08c1 (diff)
downloadxesite-f1118cbd7ddea56c165f2643f938aee0248e23a3.tar.xz
xesite-f1118cbd7ddea56c165f2643f938aee0248e23a3.zip
lume: update to 2.2.0, include images in feeds
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src')
-rw-r--r--lume/src/_components/XeblogHero.tsx17
1 files changed, 8 insertions, 9 deletions
diff --git a/lume/src/_components/XeblogHero.tsx b/lume/src/_components/XeblogHero.tsx
index 77e683a..85d5583 100644
--- a/lume/src/_components/XeblogHero.tsx
+++ b/lume/src/_components/XeblogHero.tsx
@@ -19,19 +19,18 @@ export default function XeblogHero({ ai, file, prompt }: XeblogHeroProps) {
/>
<img
alt={`An image of ${prompt}`}
+ className="hero-image"
loading="lazy"
src={`https://cdn.xeiaso.net/file/christine-static/hero/${file}.jpg`}
/>
</picture>
- {ai !== undefined
- ? (
- <></>
- )
- : (
- <figcaption className="mx-2 my-1 text-center text-gray-600 dark:text-gray-400">
- {prompt}
- </figcaption>
- )}
+ {ai !== undefined ? (
+ <></>
+ ) : (
+ <figcaption className="mx-2 my-1 text-center text-gray-600 dark:text-gray-400">
+ {prompt}
+ </figcaption>
+ )}
</figure>
</>
);