Switch to scss to reduce css bundle size, switch to cyan colour theme
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m28s

This commit is contained in:
2025-02-20 16:28:00 +10:30
parent 639be72f4b
commit 18f7736faf
9 changed files with 579 additions and 38 deletions

View File

@@ -8,11 +8,19 @@ Also includes a contact form, which sends an email with relevant details from wh
Ensure npm is installed.
Download pico css:
Download dependencies:
`npm install`
Run `./build.sh` to build the site that is served by cloudflare pages
## Debugging
Easiest way to debug/visualise the content is to use the inbuilt IDE browser. VS Code/Codium can display a preview side-by-side by clicking the Open Preview to the Side button.
This will show changes live, exactly as the content will be rendered when run from another webserver.
To generate the css file during development, run the following:
`npx sass --watch site.scss. site.css`
Note: The contact form cannot be tested locally with wrangler as this is not supported by Email Routing, instead you'll need to use the --remote