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

Footer contains link to external OpenDevise Logo #134

Open
sdavids opened this issue Sep 30, 2024 · 7 comments
Open

Footer contains link to external OpenDevise Logo #134

sdavids opened this issue Sep 30, 2024 · 7 comments

Comments

@sdavids
Copy link

sdavids commented Sep 30, 2024

This could be used for tracking…

<a href="https://opendevise.com" title="Development support by OpenDevise" target="_blank" rel="noopener"><img src="https://secure.gravatar.com/avatar/823717a797dbd78ceff7b26aa397f383.png?size=80" alt="OpenDevise Logo" width="30"></a>

The image should be part of the ui bundle in docs/ui-bundle/img.

@mojavelinux
Copy link
Member

That seems like a reasonable request. If you'd like to submit a PR with this change, I'll review/merge it.

@sdavids
Copy link
Author

sdavids commented Sep 30, 2024

I just looked at the other images…

Should I run them through ImageOptim to minimise them?

$ du -kh src/img
544K    src/img

After minimising the *.svg files:

$ du -kh src/img
520K    src/img

After minimising the *.png file:

$ du -kh src/img
432K    src/img

minimize

@sdavids
Copy link
Author

sdavids commented Sep 30, 2024

asciidoctor-og.png could/should be converted to an SVG as well.

@mojavelinux
Copy link
Member

mojavelinux commented Sep 30, 2024 via email

@sdavids
Copy link
Author

sdavids commented Sep 30, 2024

The build minimizes the images.

🤔

$ mkdir /tmp/test && cd "$_"
$ curl -sLO https://github.com/asciidoctor/asciidoctor-docs-ui/releases/download/prod-347/ui-bundle.zip
$ unzip ui-bundle.zip
$ cd img
$ du -kh .
452K
$ open -a ImageOptim *.svg *.png
$ du -kh .
416K

min2

@mojavelinux
Copy link
Member

mojavelinux commented Sep 30, 2024 via email

@mojavelinux
Copy link
Member

asciidoctor-og.png could/should be converted to an SVG as well.

From my understanding, social networks still don't properly support SVG. So the PNG is necessary. If you have a reference that cites the contrary, please share and I will study it.

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

No branches or pull requests

2 participants