diff --git a/public/vendor/ress.css b/public/vendor/ress@5.0.2.css similarity index 100% rename from public/vendor/ress.css rename to public/vendor/ress@5.0.2.css diff --git a/src/scripts/pages/about.js b/src/scripts/pages/about.js index 7426ded..e2363a1 100644 --- a/src/scripts/pages/about.js +++ b/src/scripts/pages/about.js @@ -1,9 +1,7 @@ -export function aboutPageState() { - return { - count: 0, - - decrement() { - this.count-- - } +export const aboutPageState = () => ({ + count: 0, + + decrement() { + this.count-- } -} +}) diff --git a/src/scripts/pages/index.js b/src/scripts/pages/index.js index 7ebac58..dca2738 100644 --- a/src/scripts/pages/index.js +++ b/src/scripts/pages/index.js @@ -1,9 +1,7 @@ -export function indexPageState() { - return { - count: 0, +export const indexPageState = () => ({ + count: 0, - increment() { - this.count++ - } + increment() { + this.count++ } -} +}) diff --git a/src/view/components/document.lisp b/src/view/components/document.lisp index e88e6fd..9b108ed 100644 --- a/src/view/components/document.lisp +++ b/src/view/components/document.lisp @@ -20,7 +20,7 @@ (html :lang "ja" (head (meta :charset "UTF-8") - (link :rel "stylesheet" :type "text/css" :href "/vendor/ress.css") + (link :rel "stylesheet" :type "text/css" :href "/vendor/ress@5.0.2.css") (link :rel "stylesheet" :type "text/css" :href "/styles/global.css") (on-demand-stylesheets pi:children) (link :rel "preconnect" :href "https://fonts.googleapis.com")