Use assets instead
This commit is contained in:
parent
7821782646
commit
bdbcf416f0
2 changed files with 20 additions and 21 deletions
BIN
assets/img/avatar.webp
Normal file
BIN
assets/img/avatar.webp
Normal file
Binary file not shown.
After ![]() (image error) Size: 26 KiB |
|
@ -27,11 +27,10 @@
|
||||||
|
|
||||||
(defun handle-get (params)
|
(defun handle-get (params)
|
||||||
(declare (ignore params))
|
(declare (ignore params))
|
||||||
(let ((about (get-about :query '(:fields "avatar"))))
|
|
||||||
(hsx
|
(hsx
|
||||||
(div :class "flex flex-col items-center justify-center h-full"
|
(div :class "flex flex-col items-center justify-center h-full"
|
||||||
(img
|
(img
|
||||||
:src (accesses about :avatar :url)
|
:src "/assets/img/avatar.webp"
|
||||||
:alt "avatar" :class "size-40 rounded-xl shadow-sm")
|
:alt "avatar" :class "size-40 rounded-xl shadow-sm")
|
||||||
(div :class "flex flex-col items-center gap-2 py-6"
|
(div :class "flex flex-col items-center gap-2 py-6"
|
||||||
(h1 :class "font-bold text-2xl text-center"
|
(h1 :class "font-bold text-2xl text-center"
|
||||||
|
@ -47,7 +46,7 @@
|
||||||
:class "flex items-center gap-2 text-lg hover:text-pink-500"
|
:class "flex items-center gap-2 text-lg hover:text-pink-500"
|
||||||
:rel "me"
|
:rel "me"
|
||||||
(img :src icon :alt name :class "size-4 mt-1")
|
(img :src icon :alt name :class "size-4 mt-1")
|
||||||
(span name)))))))))
|
(span name))))))))
|
||||||
|
|
||||||
; for health check
|
; for health check
|
||||||
(defun handle-head (params)
|
(defun handle-head (params)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue