Content for the contributor spotlight on MDN Web Docs.
- Aspect ratio 1×1
- Dimensions 400×400 pixels
- Format JPEG
To resize and optimize a square image, you can use Squoosh right in your browser:
- Check the Resize option, set it to 400×400.
- Choose the MozJPEG format and set the quality to 75.
To test the Contributor Spotlight pages on your local setup:
-
Make sure you have a fork of both repositories:
-
Clone both repositories into the same parent folder so your structure looks like this:
./content ./mdn-contributor-spotlight
-
In the
contentrepository, add theCONTRIBUTOR_SPOTLIGHT_ROOTenvironment variable to the.envfile:cd content echo "CONTRIBUTOR_SPOTLIGHT_ROOT=../mdn-contributor-spotlight/contributors" >> .env
-
Install dependencies and start the local server
yarn && yarn start
Your local instance should now include the Contributor Spotlight pages.