monorepo/assets/README.md

28 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2024-07-04 18:49:39 +00:00
# Assets
Assets contains components that will be uploaded to a CDN. This includes translations to different languages
(internationalization), images used across the documentation and product, videos, fonts, or any other assets you need
distributed on a CDN.
## Internationalization
Internationalization helps products reach a wider audience by supporting various languages. Common tasks that may be
performed in this package might include:
- linting for common spelling mistakes
- ensure ids meet a certain convention
- extract strings that need to be sent out for machine translations
Internationalization assets can be found in the `i18n` directory.
## Images
Images are used in a variety of different places across the site. We often need to upload these assets to a cdn. Common
tasks that may be performed in this package might include:
- resizing images at different sizes
- converting images between different formats
- lint the files and ensure the exif data is stripped
Images can be found in the `images` directory.