Skip to content

Commit

Permalink
Updated location, added dinner
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Aug 23, 2024
1 parent e593cb8 commit 38a7886
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ nsc_project: naiss2024-22-212

# location options are linkoping, lund, umea, uppsala or online. For rendering the info page.
# one or more separated by commas or semicolon. online doesn't display any location info.
location: uppsala
location: linkoping
assistants:
- "AJ: Anna Johansson"
- "BV: Björn Viklund"
Expand Down
2 changes: 1 addition & 1 deletion home_schedule.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ s <- readxl::read_xlsx("schedule.xlsx") %>%
dplyr::mutate(date = paste0("<p style='font-size:110%;padding-top:10px;padding-bottom:5px;'><span style='font-weight:bold;'><span class='marker'>",fa("fas fa-calendar"),"</span>", date, "</span>", "<span style='color:white;border-radius:4px;padding-right:4px;padding-left:4px;background:", color_primary, ";margin-left:9px;margin-right:7px;'>", day, "</span>", "<span class='marker'>", fa("fas fa-location-dot"),"</span>", room, "</p>")) %>%
# style topic
dplyr::mutate(topic = ifelse(tolower(topic) == "break" | tolower(topic) == "lunch", paste0("<span class='topic'>", topic, "</span>"), topic)) %>%
dplyr::mutate(topic = ifelse(tolower(topic) == "course dinner", paste0("<span class='topic-dinner'>", topic, "</span>"), topic)) %>%
dplyr::mutate(topic = ifelse("dinner",grepl(tolower(topic)), paste0("<span class='topic-dinner'>", topic, "</span>"), topic)) %>%
dplyr::mutate(topic = ifelse(!startsWith(topic, "<span"), paste0("<span style='margin-right:5px;'>", topic, "</span>"), topic)) %>%
# add links to topic
dplyr::mutate(topic = ifelse(is.na(link_slide), topic, paste0("<span>", topic, "<a class='marker' href='", link_slide, "'>", fa("fas fa-file-powerpoint"), "</a></span>"))) %>%
Expand Down
Binary file modified schedule.xlsx
Binary file not shown.

0 comments on commit 38a7886

Please sign in to comment.