home page
This commit is contained in:
parent
0602391977
commit
ebfb0c6c87
10 changed files with 73 additions and 34 deletions
src/routes
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue