R/header.R

Defines functions header

Documented in header

#' Header
#'
#' @importFrom bs4Dash dashboardHeader dashboardBrand
#' @export
#'
header <- function() {
  dashboardHeader(
    title = dashboardBrand(
      title = "Yang Wu",
      color = "primary",
      href = "https://www.kenwuyang.com/",
      image = "www/profile.jpg",
      opacity = 0.8
    ),
    titleWidth = NULL,
    disable = FALSE,
    .list = NULL,
    skin = "light",
    status = "white",
    border = TRUE,
    compact = FALSE,
    sidebarIcon = icon("bars"),
    controlbarIcon = icon("th"),
    fixed = TRUE,
    leftUi = NULL,
    rightUi = NULL
  )
}
YangWu1227/tracker_dashboard documentation built on June 29, 2024, 5:09 p.m.