Automate contributor carousel and use of Eclipse API#63
Conversation
…ndation API Agent-Logs-Url: https://github.com/chheis/eclipse-score-website/sessions/dd1ffa04-934d-4b7c-87e5-78f5ac0f3952 Co-authored-by: chheis <68891895+chheis@users.noreply.github.com>
Automate "Who is involved?" contributor carousel via Eclipse Foundation API
…Remote Agent-Logs-Url: https://github.com/chheis/eclipse-score-website/sessions/e853f716-d34a-45d1-a0d3-ac1eb1078bd7 Co-authored-by: chheis <68891895+chheis@users.noreply.github.com>
Fix CORS error: fetch Eclipse org data at Hugo build time
Updated API URL and adjusted logo retrieval logic to support new API format. Signed-off-by: Christian Heissenberger <68891895+chheis@users.noreply.github.com>
…ove dynamic loading
|
@MemsudG @b-rei => the message / link is wrong. Preview is not uploaded. Changes are not visible |
b-rei
left a comment
There was a problem hiding this comment.
I checked:
https://eclipse-score.github.io/eclipse-score-website-preview/pr-preview/pr-63/index.html
and the "About us" page.
I can confirm that the carousel:
- Is shown on both pages
- Anymation is working
- Scaling of the shown cards of carousal is working on different windows sizes
Improvements:
- Company logos do not scale correctly in there boxes befor switching the layout to only two tiles. The logos are running out of the boxes.
- This is already an existing problem in the current implementation.
Tested on
FF, Chrome, MS Edge
It is not previewed! |
|
Re-Tested on newly provided Preview Link. Fine for me to merge the PR |
Solves: #41
This pull request updates the way member organization logos are displayed in the contributor slider on both the homepage and the "About Us" page. Instead of hardcoding member logos in the HTML, it introduces a new JavaScript file that fetches the latest member data from the Eclipse Foundation API and dynamically populates the carousel. This ensures the displayed members are always up to date and reduces manual maintenance.
Key changes:
Dynamic member logo integration:
js/member-logos.js, which fetches member organization data from the Eclipse Foundation API and dynamically builds the carousel of member logos. If the API call fails, it gracefully falls back to any static logos already present in the HTML. (static/js/member-logos.js,content/_index.md,content/about-us.md)HTML cleanup and preparation for dynamic content:
content/_index.md,content/about-us.md)General layout improvements:
layouts/_default/taxonomy.html)layouts/_default/baseof.html)