7cc618b32c
Some images have an empty alt attribute (alt=""); this isn't a mistake, it's part of the HTML spec for images that don't add any information. Debatably, some images marked up as such with this commit do add information, but that information (e.g. what the Habitica UI looks like from the intro image) isn't likely to be useful to someone not able to see. It's also difficult to convey purely visual concepts like the arrows with alt-text, especially as the arrows themselves are not images and therefore cannot have an alt attribute. Fixes #6560.
Common
Shared resources useful for the multiple Habitica repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:
- Assets - sprites, images, etc
- CSS - especially, esp. sprite-sheet mapping
- Algorithms - level up algorithm, scoring functions, etc
- View helper functions that may come in handy for multiple client MVCs
- Item definitions - weapons, armor, pets
Compiling spritesheets
Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:
npm run sprites