This commit is contained in:
Akira Tempaku 2024-04-20 07:45:44 +09:00
commit 027077c97a
25 changed files with 123 additions and 217 deletions
src/routes

View file

@ -1,16 +1,16 @@
(defpackage #:hp/routes/index
(:use #:cl)
(:local-nicknames (#:pi #:piccolo))
(:local-nicknames (#:view #:hp/view/*))
(:local-nicknames (#:view #:hp/view/**/*))
(:export #:handle-get))
(in-package #:hp/routes/index)
(pi:define-element page ()
(pi:h
(section
(h1 :class "text-red-400"
(section :data-css "pages/index"
(h1
"Hello, World!")
(a :href "/about" :hx-boost "true"
(a :href "/about"
"About"))))
(defun handle-get (params)