The funding/sponsor logos displayed on the homepage.
- Data location:
src/data/sponsors.json(a JSON array) - Logos:
public/images/sponsors/ - Rendered by:
src/pages/index.astro
-
Add the logo image under
public/images/sponsors/. -
Add a new object to the array in
src/data/sponsors.json:{ "name": "NSF", "logo": "/images/sponsors/logo-nsf.jpg", "url": "https://www.nsf.gov" } -
Validate:
npm run build.
urlis optional — leave it as an empty string""if the sponsor has no link (most existing entries do this).
- Find the object by
nameinsrc/data/sponsors.json. - Edit its fields. If you change the logo, update
logoand replace the file inpublic/images/sponsors/. - Validate:
npm run build.
- Delete the object from the array in
src/data/sponsors.json. - Optionally delete the unused logo from
public/images/sponsors/. - Make sure the surrounding JSON stays valid (no trailing comma).
- Validate:
npm run build.
| Key | Required | Notes |
|---|---|---|
name |
Yes | Sponsor name |
logo |
Yes | Logo path under public/images/sponsors/ |
url |
No | Link; use "" when there is none |