Add access to helper
This commit is contained in:
parent
cb7062028e
commit
fa0c60d475
5 changed files with 9 additions and 3 deletions
1
qlfile
1
qlfile
|
@ -10,3 +10,4 @@ git microcms https://github.com/skyizwhite/microcms-lisp-sdk
|
||||||
ql local-time
|
ql local-time
|
||||||
ql function-cache
|
ql function-cache
|
||||||
ql jonathan
|
ql jonathan
|
||||||
|
ql access
|
||||||
|
|
|
@ -50,3 +50,7 @@
|
||||||
(:class qlot/source/ql:source-ql
|
(:class qlot/source/ql:source-ql
|
||||||
:initargs (:%version :latest)
|
:initargs (:%version :latest)
|
||||||
:version "ql-2020-09-25"))
|
:version "ql-2020-09-25"))
|
||||||
|
("access" .
|
||||||
|
(:class qlot/source/ql:source-ql
|
||||||
|
:initargs (:%version :latest)
|
||||||
|
:version "ql-2024-10-12"))
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
(:use #:cl)
|
(:use #:cl)
|
||||||
(:use-reexport #:hsx
|
(:use-reexport #:hsx
|
||||||
#:jingle
|
#:jingle
|
||||||
#:jonathan)
|
#:jonathan
|
||||||
|
#:access)
|
||||||
(:export #:api-p))
|
(:export #:api-p))
|
||||||
(in-package #:website/helper)
|
(in-package #:website/helper)
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
(div :class "flex justify-center"
|
(div :class "flex justify-center"
|
||||||
(figure :class "flex flex-col items-center"
|
(figure :class "flex flex-col items-center"
|
||||||
(img
|
(img
|
||||||
:src (getf (getf about :avatar) :url)
|
:src (accesses about :avatar :url)
|
||||||
:alt "avatar" :class "size-40 rounded-xl shadow-sm avatar")
|
:alt "avatar" :class "size-40 rounded-xl shadow-sm avatar")
|
||||||
(figcaption (getf about :avatar-caption))))
|
(figcaption (getf about :avatar-caption))))
|
||||||
(raw! (getf about :content))
|
(raw! (getf about :content))
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
(hsx
|
(hsx
|
||||||
(div :class "flex flex-col items-center justify-center h-full"
|
(div :class "flex flex-col items-center justify-center h-full"
|
||||||
(img
|
(img
|
||||||
:src (getf (getf about :avatar) :url)
|
:src (accesses about :avatar :url)
|
||||||
:alt "avatar" :class "size-40 rounded-xl shadow-sm avatar")
|
:alt "avatar" :class "size-40 rounded-xl shadow-sm avatar")
|
||||||
(div :class "flex flex-col items-center gap-2 py-6"
|
(div :class "flex flex-col items-center gap-2 py-6"
|
||||||
(h1 :class "font-bold text-2xl text-center"
|
(h1 :class "font-bold text-2xl text-center"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue