endoflife.date icon indicating copy to clipboard operation
endoflife.date copied to clipboard

Adding Product Logo in sidebar

Open usta opened this issue 3 years ago • 15 comments

It will be nice to add a new part for tools sections called productLogo or logo so we can put logos with svg formated logo links ( which must be creative common or any open license) that will improve its look visually

usta avatar Jul 05 '21 10:07 usta

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Jul 05 '21 10:07 welcome[bot]

@captn3m0 @BiNZGi ^^

usta avatar Jul 05 '21 10:07 usta

I have mentioned as svg which will help us to decide its resolution without losing its quality while rendering

usta avatar Jul 05 '21 10:07 usta

also we can use same svg with rendering it as 32x32 in site-nav part so it will help people to select tools much easier

usta avatar Jul 05 '21 10:07 usta

https://simpleicons.org/ is a good source of CC0 SVG icons, they're also used by https://shields.io/

hugovk avatar Jul 05 '21 11:07 hugovk

Simpleicons looks neat. I was also thinking of incorporating icons in the generated visual timeline (small icon at bottom right of the timeline).

Are SVG icons usable as Favicons? Should we use product icons for favicons?

captn3m0 avatar Jul 05 '21 13:07 captn3m0

yes almost all browser support svg for favicons , but i believe keeping the endoflife's its own favicon same for all pages is a better idea.

On Mon, Jul 5, 2021, 16:12 Nemo @.***> wrote:

Simpleicons looks neat. I was also thinking of incorporating icons in the generated visual timeline (small icon at bottom right of the timeline).

Are SVG icons usable as Favicons? Should we use product icons for favicons?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/endoflife-date/endoflife.date/issues/283#issuecomment-874102530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3R4RXV7P7SIJEM6ZAQPLTWGVSFANCNFSM472OHFGQ .

usta avatar Jul 05 '21 14:07 usta

I normally dont want to be "That" guy who always willing to be "grammar nazi" but @captn3m0 isnt this looks better if we use same structure with other tags ? I suggest using camelCase system instead of underscores. I mean using iconSlug instead of icon_slug will be much suitable to keep everything in order

usta avatar Jul 09 '21 09:07 usta

Thanks for the note, will take care of it.

captn3m0 avatar Jul 11 '21 17:07 captn3m0

I think this one ^^ have forgotten :)

usta avatar Jul 18 '21 11:07 usta

If you're working on this, you will need to extend the nav.html file as a include in our repository from the theme we are using: https://github.com/pmarsceill/just-the-docs/blob/master/_includes/nav.html.

Then, add the relevant HTML/CSS to add the icon to the sidebar to display the icon correctly. Make sure the design looks good (and well-aligned) even if we don't have an icon for the product.

See the icon bits in our product page template: https://github.com/endoflife-date/endoflife.date/blob/53b9a6f4f1a242fd11f68c1a0449eeb594e47856/_layouts/post.html#L205-L209 to make sure you're parsing the field the same way.

Read through very helpful guide for new contributors during Hacktoberfest as well to understand how to setup the project.

captn3m0 avatar Sep 27 '21 07:09 captn3m0

Sir, can I work on this issue

sooraj-gk avatar Oct 21 '21 09:10 sooraj-gk

Go ahead, thanks for letting us know 👍🏽

captn3m0 avatar Oct 21 '21 09:10 captn3m0

hey! , I would be happy to help. Please assign me this issue under hacktoberfest.

ampsteric avatar Sep 29 '22 09:09 ampsteric

looks like history repeats itself , first @sooraj-gk then @ampsteric Ok , from now on please nobody asks for a assign this to me thing , just makes a MR/PR and we will check if it is ok or not

usta avatar Nov 07 '22 18:11 usta