add:dotfiles page

This commit is contained in:
kokopi-dev
2026-03-10 05:13:44 +09:00
parent 7c46f8f8ee
commit 63699c2450
13 changed files with 373 additions and 294 deletions

16
components/image.templ Normal file
View File

@@ -0,0 +1,16 @@
package components
templ Image(src, alt, caption string) {
<figure class="w-full">
<img
src={ src }
alt={ alt }
class="w-full h-auto rounded-lg object-cover"
/>
if caption != "" {
<figcaption class="mt-2 text-center font-mono text-[0.6875rem] text-fg-300">
{ caption }
</figcaption>
}
</figure>
}