Optimize image

This commit is contained in:
Akira Tempaku 2025-03-29 02:47:17 +09:00
parent cb50ff863b
commit 840da7beff
Signed by: paku
GPG key ID: 5B4E8402BCC50607
3 changed files with 2 additions and 1 deletions
public/img
src/routes

Binary file not shown.

Before

(image error) Size: 263 KiB

BIN
public/img/me.webp Normal file

Binary file not shown.

After

(image error) Size: 26 KiB

View file

@ -15,7 +15,7 @@
(defcomp ~page ()
(hsx
(section :class "flex flex-col items-center justify-center h-full"
(img :src "/img/me.jpg" :alt "Profile Picture" :class "size-40 rounded rounded-full border shadow-lg")
(img :src "/img/me.webp" :alt "Profile Picture" :class "size-40 rounded rounded-full border shadow-lg")
(div :class "flex flex-col items-center gap-2 py-6"
(h1 :class "font-bold text-2xl"
"Akira Tempaku")
@ -26,6 +26,7 @@
:for (name url) :in *links*
:collect (hsx (a :href url :target "_blank" :class "text-lg hover:underline"
name)))))))
(defun handle-get (params)
(declare (ignore params))
(~page))