Renders a single artwork card with multi-layer hover system.
artworkCardUI(ns, artwork, artist, hover_depth = 3)Namespace function from parent module
Single row data.frame with artwork details. Required columns:
art_uuid (artwork UUID)
art_title (artwork title)
created_utc (creation timestamp)
Artist UUID (required for path generation)
Maximum hover depth to enable (1, 2, or 3). Default: 3
Shiny tag with artwork card HTML
Variable naming convention:
artist = artist UUID (NOT slug)
artwork = artwork UUID (NOT name)
if (FALSE) { # \dontrun{
# In a renderUI context
output$artwork_grid <- renderUI({
lapply(artworks, function(art) {
artworkCardUI(ns, art, artist_uuid, hover_depth = 3)
})
})
} # }