Reduce css bundle size, switch to cyan colour theme (#4)
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m8s

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2025-02-20 16:34:27 +10:30
parent 639be72f4b
commit 1e57e36dea
10 changed files with 580 additions and 39 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