Skip to content

Commit

Permalink
docs: adding some addtional notes on optimizing svgs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaimind committed Dec 17, 2023
1 parent 3154441 commit 91495fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ To play with them locally go the `og-image` folder and run `pnpm dev`.

## Company logos

We store a list of company logos in the `www/static/img/logos/*` folder to show on the landing page. To add future logos, simply add the png/svg to the folder, and then add it to the `www/src/components/companies.ts` map with the key of the company name and the value of the logo file location. Be sure to normalize your logos, and ensure that they have a set width and height.
We store a list of company logos in the `www/static/img/logos/*` folder to show on the landing page. To add future logos, simply add the png/svg to the folder, and then add it to the `www/src/components/companies.ts` map with the key of the company name and the value of the logo file location. Be sure to normalize your logos, and consider running them though an optimizer tool like [SVGOMG](https://jakearchibald.github.io/svgomg/). Finally, ensure that they have a set width and height.

0 comments on commit 91495fe

Please sign in to comment.