I am trying to add a logo to my dashboard-header with the following code:
title <- tags$a(href='https://google.com', tags$img(src='logo.png')) header <- dashboardHeader( title = title, uiOutput("logoutbtn"), titleWidth = 400)
The following is displayed instead of my logo.
I have tried the following:
- Named my file app.R
- Saved the "logo.png"-file in a subfolder called www
- Pressed the Run App-button
- Looked through many topics in the rstudio-community and on stackoverflow.
Can anyone help me? Please let me know if I have shared to little of code or anything else.