Move assets

This commit is contained in:
Akira Tempaku 2024-04-12 17:24:57 +09:00
commit 566c28367e
7 changed files with 10 additions and 6 deletions

View file

@ -24,6 +24,8 @@
(defun update () (defun update ()
(jg:clear-middlewares *app*) (jg:clear-middlewares *app*)
(jg:install-middleware *app* mw:*public-files*) (jg:install-middleware *app* mw:*public-files*)
(jg:static-path *app* "/scripts/" "src/scripts/")
(jg:static-path *app* "/styles/" "src/styles/")
(fbr:assign-routes *app* (fbr:assign-routes *app*
:system "hp" :system "hp"
:directory "src/routes")) :directory "src/routes"))

View file

@ -8,14 +8,16 @@
(pi:h (pi:h
(head (head
(meta :charset "UTF-8") (meta :charset "UTF-8")
(script :src "/js/htmx.js") (script :src "/scripts/htmx.js")
(script :src "/js/htmx-ext/head-support.js") (script :src "/scripts/htmx-ext/head-support.js")
(script :src "/js/alpine.js" :defer t) (script :src "/scripts/alpine.js" :defer t)
(link :rel "stylesheet" :type "text/css" :href "/style/ress.css") (link :rel "stylesheet" :type "text/css" :href "/styles/ress.css")
(link :rel "stylesheet" :type "text/css" :href "/style/global.css") (link :rel "stylesheet" :type "text/css" :href "/styles/global.css")
(link :rel "preconnect" :href "https://fonts.googleapis.com") (link :rel "preconnect" :href "https://fonts.googleapis.com")
(link :rel "preconnect" :href "https://fonts.gstatic.com" :crossorigin t) (link :rel "preconnect" :href "https://fonts.gstatic.com" :crossorigin t)
(link :rel "stylesheet" :href "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap") (link
:rel "stylesheet"
:href "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap")
(title (format nil "~@[~a - ~]skyizwhite.dev" title)) (title (format nil "~@[~a - ~]skyizwhite.dev" title))
(meta (meta
:name "description" :name "description"