Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting table icons #1016

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Fix formatting table icons #1016

wants to merge 2 commits into from

Conversation

sarahfossheim
Copy link
Collaborator

Fixes: #1012

Name of the icons is now formatted differently, changing to %20. Example from the issues (Framer Sites) shows an icon in the table now.

@@ -96,12 +95,13 @@ class TableLinked {
cell.classList.add('app-cell');

const img = document.createElement('span');
const imgUrl = `https://cdn.httparchive.org/static/icons/${formattedApp}.png`;
const imgUrl = `https://cdn.httparchive.org/static/icons/${encodeURI(app)}.png`;
Copy link
Contributor

@max-ostapenko max-ostapenko Feb 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarahfossheim please use the icon name from the technology data.
It is not always equal to technology name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tech Report: SVG icons aren't ever used
3 participants