diff --git a/R/functions-team.R b/R/functions-team.R index 94fb11a5..3039e936 100644 --- a/R/functions-team.R +++ b/R/functions-team.R @@ -11,10 +11,10 @@ generate_card <- function(person, class_group = "card-header-team") { get_info_committe <- function(){ # Run code below when we need to update # url_sheets_comite <- "https://docs.google.com/spreadsheets/d/1gKo5WEZoxpqoE4NVrHUjcuZfs2y9gMHG-bt318NqREE/edit?gid=171919892#gid=171919892" - # + # sheets_comite_raw <- - # googlesheets4::read_sheet(url_sheets_comite, "comite_cientifico") - # + # googlesheets4::read_sheet(url_sheets_comite, "Respuestas de formulario 1") + # sheets_comite_raw |> # readr::write_rds(here::here("sobre/equipo/comite.rds")) diff --git a/index.qmd b/index.qmd index 7f2eaea3..325f5281 100644 --- a/index.qmd +++ b/index.qmd @@ -57,7 +57,7 @@ listing: -
+

::: @@ -99,7 +99,7 @@ generar_cards_keynotes(info_keynotes, col_info = "", width_col = "20%") -
+

::: @@ -140,7 +140,7 @@ generar_cards_keynotes(info_keynotes, col_info = "", width_col = "20%") -
+

diff --git a/sobre/equipo/comite.rds b/sobre/equipo/comite.rds index 57dd0a0e..25669df6 100644 Binary files a/sobre/equipo/comite.rds and b/sobre/equipo/comite.rds differ diff --git a/sobre/equipo/index.qmd b/sobre/equipo/index.qmd index 5f665684..88e76b59 100644 --- a/sobre/equipo/index.qmd +++ b/sobre/equipo/index.qmd @@ -115,15 +115,21 @@ chairs |> ### Comité Científico ::: -Comming soon. + ```{r} -# bslib::layout_column_wrap(class = "cards-display", -# width = 1, -# gap = "0.5cm", -# height = 100, -# purrr::map(committe_list, .f = ~generate_card(.x, class_group = "card-header-comite")) -# ) +committe_list <- get_info_committe() + +committe_list |> + dplyr::select(name_complete, titles, icons) |> + reactable::reactable( + columns = list( + name_complete = reactable::colDef(name = "Nombre"), + titles = reactable::colDef(name = "Afiliación institucional"), + icons = reactable::colDef(name = "Contacto", html = TRUE) + ), + pagination = FALSE +) ```