golem
golem copied to clipboard
Add logo instructions to docs
It's not clear to me how to use the infrastructure to add a logo to the app. Please could you add an example to the docs?
Hey,
Are you referring to the favicon?
Colin
No, hex logo.
I'm really not sure what you are referring to, can you post a reprex / screenshot of what you're trying to do?
I think it's just a case of showing an example of how to add a hex logo to a golem app using the existing infrastructure. Something like:
tags$head(
favicon(),
bundle_resources(
path = app_sys('app/www'),
app_title = 'package-name'
),
div(img(src="www/logo.png", align="left"),
style="margin-left: 10px"),
# Add here other external resources
# for example, you can add shinyalert::useShinyalert()
)
This is how I've done it, but I have no idea if it's the way you're supposed to do it.