Rename "public" to "static"

This commit is contained in:
Akira Tempaku 2025-03-30 17:13:52 +09:00
parent 01e3911757
commit 74035544e7
Signed by: paku
GPG key ID: 5B4E8402BCC50607
8 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
.qlot
bin/tailwindcss
public/style/dist.css
static/style/dist.css
.env

View file

@ -10,7 +10,7 @@ RUN mkdir -p ./bin \
&& chmod +x tailwindcss-linux-x64 \
&& mv tailwindcss-linux-x64 ./bin/tailwindcss
RUN ./bin/tailwindcss -i ./public/style/global.css -o ./public/style/dist.css --minify
RUN ./bin/tailwindcss -i ./static/style/global.css -o ./static/style/dist.css --minify
RUN qlot install --quiet

View file

@ -2,8 +2,8 @@ TAILWIND_URL=https://github.com/tailwindlabs/tailwindcss/releases/latest/downloa
TAILWIND_TARGET=tailwindcss-macos-arm64
BIN_DIR=./bin
TAILWIND_BIN=$(BIN_DIR)/tailwindcss
STYLE_SRC=./public/style/global.css
STYLE_DIST=./public/style/dist.css
STYLE_SRC=./static/style/global.css
STYLE_DIST=./static/style/dist.css
all: install

View file

@ -20,8 +20,8 @@
(set-routes app :system :hp :target-dir-path "routes")
(install-middleware app *recoverer*)
(install-middleware app *trim-trailing-slash*)
(static-path app "/img/" "public/img/")
(static-path app "/style/" "public/style/")
(static-path app "/img/" "static/img/")
(static-path app "/style/" "static/style/")
(configure app)))
*app*

View file

Before

Width: 128px  |  Height: 128px  |  Size: 66 KiB

After

Width: 128px  |  Height: 128px  |  Size: 66 KiB

Before After
Before After

View file

Before

(image error) Size: 26 KiB

After

(image error) Size: 26 KiB

Before After
Before After

View file

Before

(image error) Size: 263 KiB

After

(image error) Size: 263 KiB

Before After
Before After