Compare commits
2 commits
06cc61f247
...
3c95ed8db8
Author | SHA1 | Date | |
---|---|---|---|
3c95ed8db8 | |||
1b7b15da5f |
2 changed files with 12 additions and 12 deletions
|
@ -18,12 +18,9 @@
|
|||
(if (string= (hp-env) "dev")
|
||||
"private, no-store"
|
||||
(cond
|
||||
((eq strategy :static)
|
||||
"public, max-age=31536000, immutable")
|
||||
((eq strategy :dynamic)
|
||||
"public, max-age=60 stale-while-revalidate=86400, stale-if-error=86400")
|
||||
(t
|
||||
"private, no-store")))))
|
||||
((eq strategy :static) "public, max-age=31536000, immutable")
|
||||
((eq strategy :dynamic) "public, max-age=60")
|
||||
(t "private, no-store")))))
|
||||
|
||||
(defmethod jingle:process-response ((app jingle:app) result)
|
||||
(set-response-header :content-type "text/html; charset=utf-8")
|
||||
|
|
|
@ -25,12 +25,13 @@
|
|||
(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+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-head-support@2.0.0/head-support.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-response-targets@2.0.0/response-targets.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/alpinejs@3.14.0/dist/cdn.min.js" :defer t))
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx.org@2.0.4/dist/htmx.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-preload@2.1.1/dist/preload.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-head-support@2.0.4/dist/head-support.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/htmx-ext-response-targets@2.0.3/dist/response-targets.min.js")
|
||||
(script :src "https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js" :defer t))
|
||||
(body
|
||||
:hx-ext "head-support, response-targets"
|
||||
:hx-ext "head-support, response-targets, preload"
|
||||
:hx-boost "true" :hx-target-404 "body" :hx-target-5* "body"
|
||||
:class (<>
|
||||
"h-[100svh] flex flex-col bg-[url(/img/bg.webp)] bg-cover bg-center "
|
||||
|
@ -43,7 +44,9 @@
|
|||
(a :href "/"
|
||||
"skyizwhite"))
|
||||
(nav :class "flex items-end"
|
||||
(ul :class "flex gap-4 text-lg [&_a]:underline [&_a]:hover:text-pink-500"
|
||||
(ul
|
||||
:preload "mouseover"
|
||||
:class "flex gap-4 text-lg [&_a]:underline [&_a]:hover:text-pink-500"
|
||||
(li (a :href "/bio" "bio"))
|
||||
(li (a :href "/work" "work"))
|
||||
(li (a :href "/blog" "blog")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue