HTMX + Alpine.js + TailwindCSS
This commit is contained in:
parent
b62a2dd8c4
commit
d614f039d3
37 changed files with 114 additions and 233 deletions
src/components
17
src/components/layout.lisp
Normal file
17
src/components/layout.lisp
Normal file
|
@ -0,0 +1,17 @@
|
|||
(defpackage #:hp/components/layout
|
||||
(:use #:cl)
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:local-nicknames (#:cfg #:hp/config/*))
|
||||
(:export #:layout))
|
||||
(in-package #:hp/components/layout)
|
||||
|
||||
(pi:define-element layout ()
|
||||
(pi:h
|
||||
(body
|
||||
:hx-ext cfg:*hx-ext*
|
||||
:class "h-[100svh] flex flex-col"
|
||||
(header)
|
||||
(main :class "flex-1"
|
||||
pi:children)
|
||||
; footer
|
||||
(footer))))
|
Loading…
Add table
Add a link
Reference in a new issue