Skip to content

Commit

Permalink
Merge pull request #25 from Oppkey/24-make-event-titles-bold-change-d…
Browse files Browse the repository at this point in the history
…ate-format

working on styling
  • Loading branch information
jcasman authored Aug 30, 2024
2 parents 8f847c4 + 4570bb5 commit 155c84d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions news/events.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ library(tidyverse)
Events <- df <- tibble(
title_link = c("https://www.ascent.io/earl", "https://shiny-in-production.jumpingrivers.com/", "https://actuaries.org.uk/LifeConference2024/", "https://www.rstats.ai/gov"),
title = c("EARL 2024", "Shiny in Production 2024", "IFoA Life Conference 2024", "2024 Government & Public Sector R Conference"),
start_date = c("2024-09-04", "2024-10-09", "2024-10-14", "2024-10-29"),
end_date = c("2024-09-05", "2024-10-10", "2024-10-16", "2024-10-30"),
start_date = c("September 4, 2024", "October 9, 2024", "October 14, 2024", "October 29, 2024"),
end_date = c("September 5, 2024", "October 10, 2024", "October 16, 2024", "October 30, 2024"),
location = c("Brighton", "Newcastle upon Tyne", "Manchester", "Washington D.C."),
type = c("Conference", "Conference", "Conference", "Conference"))
Expand Down Expand Up @@ -64,9 +64,12 @@ gt(Events) |>
tab_options(
heading.background.color = "lightblue",
column_labels.background.color = "lightblue",
column_labels.font.weight = "bold",
) |>
tab_style( style = cell_fill(color="#d6cae3"), locations=cells_body(rows=c(1, 3)))
tab_style( style = cell_fill(color="#d6cae3"), locations=cells_body(rows=c(1, 3))) |>
tab_style( style = cell_text(weight="bold"), locations=cells_body(column=title))
```

Expand Down

0 comments on commit 155c84d

Please sign in to comment.