offspot / metrics

Metrics subsystem for Kiwix Hotspot
GNU General Public License v3.0
0 stars 1 forks source link

Read logo from branding/square-logo-light.png #121

Open rgaudin opened 3 months ago

rgaudin commented 3 months ago

With offspot-config 2.2.0, branding folder is mounted onto metrics image at /src/ui/branding (and /src/ui/offspot.branding).

Imager created builds all contain the following files:

In order to use them, you should:

width: 1em;
height: 1em;
object-fit: scale-down;
Popolechien commented 3 months ago

@rgaudin If the logo has to be squared then could horizontal-logo-light.png be replaced with https://commons.wikimedia.org/wiki/File:Logo-kiwix-vertical.svg ?

rgaudin commented 3 months ago

@Popolechien I don't understand.

This ticket is a technical one that's just about moving stuff. We're not introducing new image here ; just possibility for users to have their chosen logo instead of Kiwix's.

If you are unhappy with the default kiwix branding, open a ticket in imager service or offspot-config. Starting tomorrow the default branding will be displayed in configuration editor so it'll be easy to assess for you.

Popolechien commented 3 months ago

Nevermind then I misunderstood your description.

benoit74 commented 2 months ago

Good to know, thank you for all the details.

stale[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.