#' @rdname PACKAGE_NAME
#' @keywords internal
#'
#' @importFrom shiny tagList
#' @importFrom shinymaterial material_page
app_ui <- function() {
tagList(
# Leave this function for adding external resources
golem_add_external_resources(),
# List the first level UI elements here
material_page(
title = "PACKAGE_TITLE",
include_nav_bar = FALSE,
uiOutput("ui")
)
)
}
#' @rdname PACKAGE_NAME
#' @keywords internal
#'
#' @importFrom shiny addResourcePath tags
#' @importFrom golem favicon
golem_add_external_resources <- function() {
addResourcePath(prefix = "www", directoryPath = system.file("app/www", package = "PACKAGE_NAME"))
tags$head(favicon())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.