Files
website/README.md
vato007 18f7736faf
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m28s
Switch to scss to reduce css bundle size, switch to cyan colour theme
2025-02-20 16:28:00 +10:30

925 B

Michael Pivato

A dead simple website showcasing my career and interests!

Also includes a contact form, which sends an email with relevant details from whoever is trying to make contact, using CloudFlare Workers and Email Routing.

Build

Ensure npm is installed.

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