A landing page for Los Angeles-based non-profit FixNation, which provides free spay and neuter services to community cats.
This project uses SvelteKit and TypeScript.
First, ensure that yarn is installed.
Then, install dependencies by running:
yarnNext, start the development server:
yarn dev --openThis will automatically open the site in a browser.
When committing changes, run the linter and auto-formatter (prettier):
yarn formatThen, the pre-commit check should pass and allow the changes to be pushed.
We use AVIF images to replace PNGs since they load faster. Whenever you add new PNG images, you need to copy them to AVIFs using the compress_images script. You can run it with:
bash ./compress_images.shTo create a production build of the site:
yarn buildYou can preview the production build with yarn preview.