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:
yarn
Next, start the development server:
yarn dev --open
This will automatically open the site in a browser.
When committing changes, run the linter and auto-formatter (prettier):
yarn format
Then, 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.sh
To create a production build of the site:
yarn build
You can preview the production build with yarn preview
.