inst/examples/shiny/classic/app.R

library(shiny)

ui <- navbarPage(
  theme = mayoshiny::mayoshinytheme(),
  title = div(
    img(
      src = "mayoshinythemes/images/logo_white.png",
      class = "brand-logo"
    ),
    "App Title"
  ),
  tabPanel(
    "Bootstrap Components",
    includeHTML(system.file("bootstrap_demo.html", package = "mayotheme"))
  ),
  tabPanel(
    "Loader",
    plotOutput("demo_loader") %>% mayo_loader()
  ),
  tabPanel("DISCLAIMER", mayoshiny::disclaimer())
)


server <- function(input, output) {

}

# Run the application
shinyApp(ui = ui, server = server)
eheinzen/mayoshiny documentation built on Aug. 16, 2021, 9:59 a.m.