box::use(
shiny[bootstrapPage, div, moduleServer, NS, renderUI, tags, uiOutput],
)
#' @export
ui <- function(id) {
ns <- NS(id)
bootstrapPage(
uiOutput(ns("message"))
)
}
#' @export
server <- function(id) {
moduleServer(id, function(input, output, session) {
output$message <- renderUI({
div(
style = "display: flex; justify-content: center; align-items: center; height: 100vh;",
tags$h1(
tags$a("Check out Rhino docs!", href = "https://appsilon.github.io/rhino/")
)
)
})
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.