2024-06-15 18:13:04 +09:00
|
|
|
(defpackage #:hp/routes/index
|
2024-06-15 16:42:44 +09:00
|
|
|
(:use #:cl
|
2024-10-02 23:36:30 +09:00
|
|
|
#:hsx)
|
2024-04-14 16:40:47 +09:00
|
|
|
(:export #:handle-get))
|
2024-02-02 01:07:19 +09:00
|
|
|
(in-package #:hp/routes/index)
|
|
|
|
|
2025-03-28 23:12:07 +09:00
|
|
|
(defparameter *links*
|
|
|
|
'(("Keyoxide" "https://keyoxide.org/f39d5b2c951d16732a5cd3528f0c1a22f26d7e62")
|
|
|
|
("GitHub" "https://github.com/skyizwhite")
|
|
|
|
("Forgejo" "https://code.skyizwhite.dev/paku")
|
2025-03-31 14:44:39 +09:00
|
|
|
("X (EN)" "https://x.com/skyizwhite")
|
|
|
|
("Fediverse (JP)" "https://himagine.club/@skyizwhite")
|
2025-03-28 23:12:07 +09:00
|
|
|
("Service Status" "https://status.skyizwhite.dev")))
|
|
|
|
|
2024-12-12 13:21:19 +09:00
|
|
|
(defcomp ~page ()
|
2024-06-01 22:21:15 +09:00
|
|
|
(hsx
|
2025-03-28 23:12:07 +09:00
|
|
|
(section :class "flex flex-col items-center justify-center h-full"
|
2025-03-29 02:47:17 +09:00
|
|
|
(img :src "/img/me.webp" :alt "Profile Picture" :class "size-40 rounded rounded-full border shadow-lg")
|
2025-03-28 23:12:07 +09:00
|
|
|
(div :class "flex flex-col items-center gap-2 py-6"
|
|
|
|
(h1 :class "font-bold text-2xl"
|
|
|
|
"Akira Tempaku")
|
|
|
|
(p :class "text-xl"
|
|
|
|
"Web developer"))
|
|
|
|
(div :class "flex flex-col items-center text-pink-500"
|
|
|
|
(loop
|
|
|
|
:for (name url) :in *links*
|
|
|
|
:collect (hsx (a :href url :target "_blank" :class "text-lg hover:underline"
|
|
|
|
name)))))))
|
2025-03-29 02:47:17 +09:00
|
|
|
|
2024-04-14 16:40:47 +09:00
|
|
|
(defun handle-get (params)
|
2024-02-02 01:07:19 +09:00
|
|
|
(declare (ignore params))
|
2024-12-12 13:21:19 +09:00
|
|
|
(~page))
|