Skip to content

SweetheartSquad/SweetHeartSquad.com

Repository files navigation

SweetHeart Squad site

icon

sweetheartsquad.com

Development

npm i # installs dependencies
npm start # starts dev server
npm run build # creates production build

Adding a game

  1. Add an entry to ./src/games.ts
  2. Add a .mp4 (or .gif) cover to the ./public/assets/covers folder, filename should match "slugified" title (e.g. Party, Darling? -> Party-Darling.mp4)
  3. Run ./convert.sh (this will convert .gif covers to .mp4 covers and extract the first frame as a .png)

Release

Push changes to main branch. The workflow will automatically update the live site.