Improve
This commit is contained in:
parent
5a0e0016e9
commit
0602391977
4 changed files with 17 additions and 8 deletions
src/routes
|
@ -7,12 +7,16 @@
|
|||
|
||||
(defparameter *metadata*
|
||||
'(:title "404 Not Found"
|
||||
:description "お探しのページは見つかりませんでした。"))
|
||||
:description "お探しのページは削除されたか、URLが間違っている可能性があります。"))
|
||||
|
||||
(defcomp page ()
|
||||
(hsx
|
||||
(h1 :class "text-red-600"
|
||||
"404 Not Found")))
|
||||
(div :class "flex flex-col justify-center items-center h-full gap-4"
|
||||
(h1 :class "text-2xl text-red-600"
|
||||
"404 Not Found")
|
||||
(p (getf *metadata* :description))
|
||||
(a :href "/" :class "text-pink-600"
|
||||
"トップページに戻る"))))
|
||||
|
||||
(defun handle-not-found ()
|
||||
(jg:set-response-status :not-found)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue