Add NotoSansJP font
This commit is contained in:
parent
dfc3b1f663
commit
507135fee2
6 changed files with 17 additions and 11 deletions
|
@ -1,5 +1,8 @@
|
|||
@charset "utf-8";
|
||||
|
||||
body {
|
||||
display: block;
|
||||
font-family: "Noto Sans JP", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
:port 3000))
|
||||
|
||||
(defmethod jg:not-found ((app jg:app))
|
||||
(view:render-page (cmp:not-found-page)
|
||||
:status :not-found
|
||||
:title "404 Not Found"
|
||||
:description "お探しのページは見つかりませんでした。"))
|
||||
(view:render (cmp:not-found-page)
|
||||
:status :not-found
|
||||
:title "404 Not Found"
|
||||
:description "お探しのページは見つかりませんでした。"))
|
||||
|
||||
(defun update ()
|
||||
(jg:clear-middlewares *app*)
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
(script :src "/js/alpine.js" :defer t)
|
||||
(link :rel "stylesheet" :type "text/css" :href "/style/ress.css")
|
||||
(link :rel "stylesheet" :type "text/css" :href "/style/global.css")
|
||||
(link :rel "preconnect" :href "https://fonts.googleapis.com")
|
||||
(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")
|
||||
(title (format nil "~@[~a - ~]skyizwhite.dev" title))
|
||||
(meta
|
||||
:name "description"
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
|
||||
(defun on-get (params)
|
||||
(declare (ignore params))
|
||||
(view:render-page (page)
|
||||
:title "about"
|
||||
:description "pakuの自己紹介"))
|
||||
(view:render (page)
|
||||
:title "about"
|
||||
:description "pakuの自己紹介"))
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
|
||||
(defun on-get (params)
|
||||
(declare (ignore params))
|
||||
(view:render-page (page)))
|
||||
(view:render (page)))
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
(:local-nicknames (#:jg #:jingle))
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:local-nicknames (#:cmp #:hp/components/**/*))
|
||||
(:export #:render-page))
|
||||
(:export #:render))
|
||||
(in-package #:hp/view)
|
||||
|
||||
(defun render-page (page &key status title description)
|
||||
(defun render (page &key status title description)
|
||||
(jg:with-html-response
|
||||
(and status (jg:set-response-status status))
|
||||
(pi:elem-str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue