box::use(
htmltools[tags, tagList],
. / nav[nav],
. / card[card],
)
#' Home page
#'
#' @export
page <- \() {
tagList(
nav(),
tags$div(
class = "general-container",
card(
tags$h3("Hi there!"),
tags$p(
"Explore our",
tags$a(href = "/products", "products"),
"or",
tags$a(href = "/contact", "contact us")
)
)
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.