home page

This commit is contained in:
Akira Tempaku 2024-11-17 00:59:06 +09:00
parent 0602391977
commit ebfb0c6c87
10 changed files with 73 additions and 34 deletions
src/routes

View file

@ -7,16 +7,16 @@
(defparameter *metadata*
'(:title "404 Not Found"
:description "お探しのページは削除されたか、URLが間違っている可能性があります。"))
:description "The page you are looking for may have been deleted or the URL might be incorrect."))
(defcomp page ()
(hsx
(div :class "flex flex-col justify-center items-center h-full gap-4"
(section :class "container flex flex-col justify-center items-center h-full gap-4"
(h1 :class "text-2xl text-red-600"
"404 Not Found")
(getf *metadata* :title))
(p (getf *metadata* :description))
(a :href "/" :class "text-pink-600"
"トップページに戻る"))))
(a :href "/" :class "text-orange-600"
"Return to the homepage"))))
(defun handle-not-found ()
(jg:set-response-status :not-found)