Add alt as caption, add details to header, add some early writing to DNDT
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 15m17s

This commit is contained in:
2025-08-21 17:11:19 +09:30
parent a4423b18cf
commit 41079e93c1
3 changed files with 38 additions and 7 deletions

View File

@@ -7,4 +7,11 @@ import { getImageByPath } from "@lib/utils";
const image = getImageByPath(src);
---
{image && <Image src={image} alt={alt} />}
{
image && (
<div class="my-8">
<Image src={image} alt={alt} />
<div class="mt-2 block w-full text-center text-sm italic">{alt}</div>
</div>
)
}