@mkokabi Here is a preview on staging: https://staging.eclipse.org/org/artwork/
Credentials:
testuser
plaintext
Olivier Goulet (b1175f1f) at 28 Mar 20:23
Olivier Goulet (77c76a3a) at 28 Mar 20:23
feat: display individual member logo
Resolves part of eclipsefdn/it/websites/eclipse.org#503
Olivier Goulet (7a710244) at 28 Mar 20:15
Adding more classes, which were defined on www.eclipse.org. These would be useful to have across all our sites.
Olivier Goulet (8f0ed0bd) at 28 Mar 20:15
feat: responsive text alignment utilities and fix text-color utils ...
I brought the logos back by restoring a previously deleted PHP script. This is only a temporary solution; we plan to remove the membership section (on PHP) altogether.
I'll leave the issue open until we have a longer-term fix via eclipsefdn/it/webdev/solstice-assets!499 (merged). This will need to wait for next week.
It's to prevent the dark mode colours from overriding the utility class.
<div class="dark">
<p class="text-black">This text will remain black</p>
</div>
Olivier Goulet (9d641fe8) at 28 Mar 15:54
docs: update title
Resolves part of eclipsefdn/it/websites/eclipse.org#503
Olivier Goulet (f1f7e1f3) at 28 Mar 15:50
docs: update title
Aren't there ways to create images from text? It might be an additional dependency to be added to the Java projects.
I feel like we would use this in situations where we choose what member logo to display selectively. Moments where we handwrite the img tags ourselves. If a logo doesn't exist on the API, we can then add our own text or upload our own copy of the logo on the website manually.
For example, for event sponsors where we want to display a handful of logos, we would just use the proposed endpoint instead of copying the logos across our sites. If a member has no logo, that's fine because we can make adjustments.
However, there is a big flaw: what happens when an organization is no longer a member?
It would be helpful to have a URL which returns an organization logo that could simply be passed to an img
's src
attribute.
Similar to how it's done on accounts.eclipse.org:
https://accounts.eclipse.org/user/cguindon/picture
The URL could be something like:
https://membership.eclipse.org/api/organizations/656/logos/web
For context, this is being requested because of the following bug: eclipse.org#503. During the /membership/ migration efforts, we removed some scripts. One of these scripts was fetching logos. Instead of creating a new JS widget to fetch a single logo, it may be better to have access to logos as simple URLs.
We removed scripts from the /membership section to identify any breaking changes that would require JavaScript implementation.
One of these scripts would be how the directors' page fetches member logos. These logos can be fetched via the membership API instead.
https://gitlab.eclipse.org/eclipsefdn/it/websites/eclipse.org/-/issues/412#note_1991323
Page affected: https://www.eclipse.org/org/foundation/directors.php