Blog: switch placeholder images
This commit is contained in:
parent
c017a027e2
commit
21f2f0b642
|
@ -42,7 +42,7 @@ const posts = (await getCollection('blog')).sort(
|
||||||
width={720}
|
width={720}
|
||||||
height={360}
|
height={360}
|
||||||
class="rounded-2xl grayscale"
|
class="rounded-2xl grayscale"
|
||||||
src={ post.data.heroImage ? post.data.heroImage : "/images/llama/tiny-llama-logo.avif" }
|
src={ post.data.heroImage ? post.data.heroImage : "/images/blog/blog-placeholder.avif" }
|
||||||
alt="" />
|
alt="" />
|
||||||
<div class="hero-text">
|
<div class="hero-text">
|
||||||
{post.data.heroText}
|
{post.data.heroText}
|
||||||
|
|
|
@ -55,7 +55,7 @@ const posts = (await getCollection('unix')).sort(
|
||||||
width={720}
|
width={720}
|
||||||
height={360}
|
height={360}
|
||||||
class="rounded-2xl grayscale"
|
class="rounded-2xl grayscale"
|
||||||
src={ post.data.heroImage ? post.data.heroImage : "/images/unix/terminal.webp" }
|
src={ post.data.heroImage ? post.data.heroImage : "/images/unix/unix-placeholder.avif" }
|
||||||
alt="" />
|
alt="" />
|
||||||
<h4
|
<h4
|
||||||
class="title text-xl">
|
class="title text-xl">
|
||||||
|
|
Loading…
Reference in a new issue