Uno.Wasm.Bootstrap icon indicating copy to clipboard operation
Uno.Wasm.Bootstrap copied to clipboard

Need a way to specify a "favicon" into HTML

Open carldebilly opened this issue 6 years ago • 9 comments
trafficstars

Specific need: Need a way to specify a "favicon" in the generated html.

Generalized need: Need a way to specify custom html headers.

The following should be added into the <head> section of the generated html:

  <link rel="icon" type="image/png" href="appicon.png">

For specific support for favicon, we may need to specify multiple sizes... https://www.w3schools.com/tags/att_link_sizes.asp

carldebilly avatar Jun 11 '19 17:06 carldebilly

assign this to me. @jeromelaban

gagandeepp avatar Sep 27 '19 11:09 gagandeepp

@gagandeepp Thanks for your help!

jeromelaban avatar Sep 27 '19 13:09 jeromelaban

@jeromelaban do you have any icon image?

gagandeepp avatar Sep 28 '19 13:09 gagandeepp

We should publish an asset like this one... https://nv-assets.azurewebsites.net/logos/uno.png

carldebilly avatar Sep 30 '19 00:09 carldebilly

how to test this functionality?

gagandeepp avatar Oct 01 '19 14:10 gagandeepp

If you build the application and deploy it through VS, the icon of the site should be updated.

jeromelaban avatar Oct 01 '19 15:10 jeromelaban

I have setup Uno.Wasm.Sample has startup project and it is throwing exception?

gagandeepp avatar Oct 01 '19 16:10 gagandeepp

Should be fixed with https://github.com/unoplatform/uno/issues/3701

carldebilly avatar Sep 21 '20 18:09 carldebilly

New Uno.Wasm.Bootstrap package v1.4.0-dev.45 now allows you to put a favicon.ico at the root of your application. So that's an easy way to fix this problem.

I'll leave it opened because the actual issue - injecting an arbitrary <link> into html's <head> - is not adressed here.

carldebilly avatar Sep 21 '20 18:09 carldebilly