Update contents
This commit is contained in:
parent
0801dbc1f6
commit
3947e42a18
4 changed files with 14 additions and 8 deletions
|
@ -1,15 +1,20 @@
|
|||
(defpackage #:hp/lib/cms
|
||||
(:use #:cl)
|
||||
(:import-from #:microcms
|
||||
#:define-list-client)
|
||||
#:define-list-client
|
||||
#:define-object-client)
|
||||
(:import-from #:hp/lib/env
|
||||
#:microcms-service-domain
|
||||
#:microcms-api-key)
|
||||
(:export #:get-blog-list
|
||||
#:get-blog-detail))
|
||||
#:get-blog-detail
|
||||
#:get-bio
|
||||
#:get-work))
|
||||
(in-package :hp/lib/cms)
|
||||
|
||||
(setf microcms:*service-domain* (microcms-service-domain))
|
||||
(setf microcms:*api-key* (microcms-api-key))
|
||||
|
||||
(define-object-client bio)
|
||||
(define-object-client work)
|
||||
(define-list-client blog)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
(defparameter *metadata-template*
|
||||
(list :title (lambda (title) (format nil "~@[~a - ~]~a" title "skyizwhite.dev"))
|
||||
:description "The personal website of Akira Tempaku (paku) - projects, thoughts, and more."
|
||||
:description "The personal website of Akira Tempaku (paku) - bio, work, blog and more."
|
||||
:canonical #'path->url
|
||||
:og-url #'path->url
|
||||
:og-type "website"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
(link :rel "manifest" :href "/img/site.webmanifest")
|
||||
(link :rel "stylesheet" :href (bust-cache "/style/dist.css"))
|
||||
(link :rel "preconnect" :href "https://fonts.googleapis.com")
|
||||
(link :rel "stylesheet" :href "https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap")
|
||||
(link :rel "stylesheet" :href "https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx.org@2.0.0/dist/htmx.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-preload@2.0.0/preload.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-head-support@2.0.0/head-support.min.js")
|
||||
|
@ -56,8 +56,8 @@
|
|||
"bg-amber-50/90 flex flex-col flex-1 w-full max-w-[700px] overflow-hidden shadow-sm "
|
||||
"px-2 pt-2 mx-auto md:px-8 md:pt-8")
|
||||
(header :class "flex justify-between pb-2 md:pb-4 border-b-1"
|
||||
(h1 :class "text-2xl md:text-4xl font-bold"
|
||||
(a :href "/"
|
||||
(h1 :class "text-2xl md:text-3xl font-bold"
|
||||
(a :href "/" :preload t
|
||||
"skyizwhite"))
|
||||
(nav :class "flex items-end"
|
||||
(ul
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
@import "tailwindcss";
|
||||
@plugin "@tailwindcss/typography";
|
||||
|
||||
:root {
|
||||
font-family: "Zen Kurenaido", sans-serif;
|
||||
font-family: "Zen Maru Gothic", sans-serif;
|
||||
}
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
:root {
|
||||
font-family: "Zen Kurenaido", sans-serif;
|
||||
font-family: "Zen Maru Gothic", sans-serif;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue