R/create-footer.R

Defines functions create_footer

#' Create app footer
#'
#' The app footer shows a link to the issue tracker and a contact link.
#'
#' @noRd
#' @param email Email address to contact
#' @return A footer tag
create_footer <- function(email) {
  tags$footer(
    p(
      a(href = "https://github.com/Sage-Bionetworks/dccvalidator/issues", "Report an issue"), # nolint
      " | ",
      a(href = glue::glue("mailto:{email}"), "Contact us")
    ),
    align = "left"
  )
}
Sage-Bionetworks/dccvalidator documentation built on May 7, 2022, 10:32 a.m.