diff --git a/.gitignore b/.gitignore index 7497b6a..15f2f39 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,8 @@ node_modules out dist *.tgz -static/css/tailwind.css -static/js/*.js +static/tailwind.css +static/*.js # code coverage coverage diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 402729d..2ee9c2f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,8 +30,8 @@ go test ./... go run ./cmd/server ``` -TypeScript source files live in `static/js/*.ts` and are bundled to matching `static/js/*.js` files for runtime. -Generated `static/js/*.js` and `static/css/tailwind.css` files are ignored by git. +TypeScript source files live in `static/*.ts` and are bundled to matching `static/*.js` files for runtime. +Generated `static/*.js` and `static/tailwind.css` files are ignored by git. ## Development guidelines diff --git a/README.md b/README.md index e8276c5..89d5b4d 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ bun run build:assets go run ./cmd/server ``` -The frontend pipeline uses a single source stylesheet (`static/css/style.css`) and TypeScript sources in `static/js/*.ts`, then emits build artifacts (`static/css/tailwind.css` and `static/js/*.js`) for serving. +The frontend pipeline uses a single source stylesheet (`static/style.css`) and TypeScript sources in `static/*.ts`, then emits build artifacts (`static/tailwind.css` and `static/*.js`) for serving. When the server starts, the app is available at `http://localhost:3000`. diff --git a/internal/templates/layout.templ b/internal/templates/layout.templ index a45d890..abb21cc 100644 --- a/internal/templates/layout.templ +++ b/internal/templates/layout.templ @@ -10,12 +10,12 @@ templ Layout(title string, showHeader bool) {