HTMX + Alpine.js + TailwindCSS

This commit is contained in:
Akira Tempaku 2024-04-25 21:08:56 +09:00
parent b62a2dd8c4
commit d614f039d3
37 changed files with 114 additions and 233 deletions
src/components

View 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))))