footer: Footer Function

View source: R/footer.R

footerR Documentation

Footer Function

Description

This function create a gov style footer for your page

Usage

footer(full = FALSE)

Arguments

full

Whenever you want to have blank footer or official gov version. Defaults to FALSE

Value

a footer html shiny object

Examples

if (interactive()) {

  ui <- fluidPage(
    shinyGovstyle::header(
      main_text = "Example",
      secondary_text = "User Examples",
      logo="shinyGovstyle/images/moj_logo.png"),
    shinyGovstyle::banner(
      inputId = "banner", type = "beta", 'This is a new service'),
    tags$br(),
    tags$br(),
    shinyGovstyle::footer(full = TRUE)
  )

  server <- function(input, output, session) {}

  shinyApp(ui = ui, server = server)
}

shinyGovstyle documentation built on March 18, 2022, 7:24 p.m.