Improve
This commit is contained in:
parent
4949324e05
commit
027077c97a
25 changed files with 123 additions and 217 deletions
src/routes
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue