Rename ui to components
This commit is contained in:
parent
622252d0b5
commit
db2c70496d
3 changed files with 6 additions and 6 deletions
src
|
@ -1,8 +1,8 @@
|
|||
(uiop:define-package #:hp/ui/layout
|
||||
(uiop:define-package #:hp/components/layout
|
||||
(:use #:cl)
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:export #:layout))
|
||||
(in-package #:hp/ui/layout)
|
||||
(in-package #:hp/components/layout)
|
||||
|
||||
(pi:define-element layout ()
|
||||
(pi:h
|
|
@ -2,7 +2,7 @@
|
|||
(:use #:cl)
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:local-nicknames (#:jg #:jingle))
|
||||
(:local-nicknames (#:ui #:hp/ui/*))
|
||||
(:local-nicknames (#:cmp #:hp/components/*))
|
||||
(:export #:on-get))
|
||||
(in-package #:hp/routes/index)
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
|
||||
(pi:define-element page ()
|
||||
(pi:h
|
||||
(ui:layout
|
||||
(cmp:layout
|
||||
(section :class "h-full flex justify-center items-center"
|
||||
(p :class "text-primary text-4xl"
|
||||
"Hello World!")))))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(:use #:cl)
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:local-nicknames (#:jg #:jingle))
|
||||
(:local-nicknames (#:ui #:hp/ui/*))
|
||||
(:local-nicknames (#:cmp #:hp/components/*))
|
||||
(:export #:on-get))
|
||||
(in-package #:hp/routes/user/=name)
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
|||
|
||||
(pi:define-element page (name)
|
||||
(pi:h
|
||||
(ui:layout
|
||||
(cmp:layout
|
||||
(section :class "h-full flex justify-center items-center"
|
||||
(p :class "text-primary text-4xl"
|
||||
"Hello, " name "!")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue