diff --git a/public/img/me.jpg b/public/img/me.jpg new file mode 100644 index 0000000..d5e9362 Binary files /dev/null and b/public/img/me.jpg differ diff --git a/src/app.lisp b/src/app.lisp index 579b3b4..03abd3d 100644 --- a/src/app.lisp +++ b/src/app.lisp @@ -18,9 +18,13 @@ (update-routes) (defparameter *app* - (lack:builder (:static - :path "/dist/assets/" - :root (asdf:system-relative-pathname :hp "assets/")) + (lack:builder :accesslog + (:static + :path "/assets/" + :root (asdf:system-relative-pathname :hp "dist/assets/")) + (:static + :path "/public/" + :root (asdf:system-relative-pathname :hp "public/")) *raw-app*)) ; for clackup cmd diff --git a/src/routes/index.lisp b/src/routes/index.lisp index 5297e96..64aa68b 100644 --- a/src/routes/index.lisp +++ b/src/routes/index.lisp @@ -12,8 +12,12 @@ (pi:h (cmp:layout (section :class "h-full flex justify-center items-center" - (p :class "text-primary text-4xl" - "Hello World!"))))) + (div :class "flex flex-col items-center gap-2" + (div :class "avatar" + (div :class "w-32 mask mask-squircle" + (img :src "/public/img/me.jpg"))) + (p :class "text-primary text-3xl text-center" + "Hello, World!")))))) ;;; Controller diff --git a/tailwind.config.js b/tailwind.config.js index ff8e6d2..3703651 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,4 +5,7 @@ export default { "./src/components/**/*.lisp" ], plugins: [require("daisyui")], + daisyui: { + themes: ["retro"] + }, };