Skip to content

Commit f69f405

Browse files
ake123TuomasBorman
andauthored
travel page and logo and temporary removal (#13)
* update workflow * remove Fetch gh-pages * remove fix devtools section * fix * Improve organizer table #3 * fix organizer table * fix organizer table * logo and travel page * correcttions * link update --------- Co-authored-by: Tuomas Borman <[email protected]>
1 parent a56ba0e commit f69f405

File tree

4 files changed

+42
-43
lines changed

4 files changed

+42
-43
lines changed

R/organizers.R

Lines changed: 28 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -16,47 +16,35 @@ create_organizer_table <- function(table.path = file.path("..", "data", "organiz
1616
mutate(order = ifelse(is.na(order) | order == "", Inf, as.numeric(order)))
1717

1818
# Add organizer group
19-
groups <- c("Local", "Community")
20-
organizers[["group"]] <- ifelse(organizers[["local"]], groups[[1L]], groups[[2L]])
21-
22-
# Loop over local and community
23-
for (grp in groups) {
24-
cat("##", grp, "\n\n")
25-
26-
df <- organizers |>
27-
filter(group == grp) |>
28-
arrange(order, name) |>
29-
mutate(
30-
img = sprintf("![](%s){height=150}", img_path),
31-
label = name
32-
)
33-
34-
# Fill empty slots so table is rectangular
35-
n_missing <- ncol - (nrow(df) %% ncol)
36-
if (n_missing < ncol) {
37-
df <- bind_rows(df, data.frame(
38-
name = rep("", n_missing),
39-
local = rep(FALSE, n_missing),
40-
order = rep(Inf, n_missing),
41-
img_path = rep("", n_missing),
42-
group = rep(grp, n_missing),
43-
img = rep("", n_missing),
44-
label = rep("", n_missing)
45-
))
46-
}
47-
48-
# Make matrix with alternating rows (image row, name row)
49-
img_mtx <- matrix(df$img, ncol = ncol, byrow = TRUE)
50-
name_mtx <- matrix(df$label, ncol = ncol, byrow = TRUE)
51-
ij <- rep(seq_len(nrow(img_mtx)), each = 2) + c(0, nrow(img_mtx))
19+
df <- organizers |>
20+
arrange(order, name) |>
21+
mutate(
22+
img = sprintf("![](%s){height=150}", img_path),
23+
label = name
24+
)
25+
n_missing <- ncol - (nrow(df) %% ncol)
26+
if (n_missing < ncol) {
27+
df <- bind_rows(df, data.frame(
28+
name = rep("", n_missing),
29+
local = rep(FALSE, n_missing),
30+
order = rep(Inf, n_missing),
31+
img_path = rep("", n_missing),
32+
img = rep("", n_missing),
33+
label = rep("", n_missing),
34+
stringsAsFactors = FALSE
35+
))
36+
}
37+
# Make matrix with alternating rows (image row, name row)
38+
img_mtx <- matrix(df$img, ncol = ncol, byrow = TRUE)
39+
name_mtx <- matrix(df$label, ncol = ncol, byrow = TRUE)
40+
ij <- rep(seq_len(nrow(img_mtx)), each = 2) + c(0, nrow(img_mtx))
5241

53-
tbl <- data.frame(rbind(img_mtx, name_mtx)[ij, ])
42+
tbl <- data.frame(rbind(img_mtx, name_mtx)[ij, ])
5443

55-
kable(tbl, format = "html", align = align, col.names = NULL, escape = FALSE,
56-
table.attr = 'class="organizers-table table table-borderless"') |>
57-
kable_styling(full_width = FALSE, position = "left") |>
58-
print()
44+
kable(tbl, format = "html", align = align, col.names = NULL, escape = FALSE,
45+
table.attr = 'class="organizers-table table table-borderless"') |>
46+
kable_styling(full_width = FALSE, position = "left") |>
47+
print()
5948

60-
cat("\n\n")
61-
}
49+
cat("\n\n")
6250
}

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ website:
2525
- href: pages/organizers.qmd
2626
- href: pages/past-events.qmd
2727
- href: pages/code-of-conduct.qmd
28-
#- href: pages/travel-information.qmd
28+
- href: pages/travel-information.qmd
2929
#- href: pages/conference-dinner.qmd
3030
page-footer:
3131
left: |

index.qmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ toc: false
2020

2121
::: {.column width="43%"}
2222
::: {.img-float}
23-
![](images/logos/bioconductor_sticker.gif){style="width: 33%; float: left; margin: 5px;"}
23+
![](images/logos/bioconductor_sticker.gif){style="width: 25%; float: left; margin: 5px;"}
2424
:::
2525
\
26-
\
2726
The European Bioconductor Conference (EuroBioC2026) will take place on
2827
**June 3-5, 2026**, in **Turku, Finland**. EuroBioC2026 will
2928
bring together the Bioconductor community to showcase the latest cutting-edge

pages/travel-information.qmd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Travel Information
2+
3+
## Conference venue
4+
5+
6+
The European Bioconductor Conference 2026 will be held in **Turku, Finland**.
7+
8+
The venue is **[BioCity Turku](https://biocityturku.fi/)**.
9+
10+
11+
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1966.634515144646!2d22.290319212102773!3d60.449426420761306!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x468c76e7cb2e9abb%3A0xf85671e5bdaa768a!2sBioCity!5e0!3m2!1sen!2sfi!4v1760602199773!5m2!1sen!2sfi" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
12+

0 commit comments

Comments
 (0)