| library(shiny) | library(shiny) | ||||
| library(dplyr) | library(dplyr) | ||||
| library(shinyjs) | library(shinyjs) | ||||
| library(ggplot2) | |||||
| # ---- APP PARAMETERS ---- | # ---- APP PARAMETERS ---- | ||||
| APP_TITLE <- "App Title" | APP_TITLE <- "App Title" | ||||
| coord_flip() + | coord_flip() + | ||||
| guides(color = FALSE) + | guides(color = FALSE) + | ||||
| labs(x=NULL, y=NULL) + | labs(x=NULL, y=NULL) + | ||||
| hrbrthemes::theme_ipsum_ps(base_size = 24, axis_title_just = "cc") + | |||||
| hrbrthemes::theme_ipsum_ps(base_size = 26, axis_title_just = "cc") + | |||||
| facet_wrap(~ Category, ncol = 1, scales = "free_y") + | facet_wrap(~ Category, ncol = 1, scales = "free_y") + | ||||
| theme( | theme( | ||||
| panel.grid.minor.x = element_blank(), | panel.grid.minor.x = element_blank(), |
| div( | div( | ||||
| class = "splash-body", | class = "splash-body", | ||||
| h1("Welcome!"), | h1("Welcome!"), | ||||
| p("Talking about cancer treatment options is hard, but we're here to help."), | |||||
| p("Talking about your cancer treatment options is hard, but we're here to help."), | |||||
| actionButton("splash_next_screen", "Get Started", class = "btn-bottom-right btn-primary") | actionButton("splash_next_screen", "Get Started", class = "btn-bottom-right btn-primary") | ||||
| ) | ) | ||||
| ) | ) |
| font-weight: 600; | font-weight: 600; | ||||
| } | } | ||||
| .splash-body p { | .splash-body p { | ||||
| padding-left: 40px; | |||||
| padding-right: 40px; | |||||
| padding-left: 55px; | |||||
| padding-right: 55px; | |||||
| padding-top: 10px; | padding-top: 10px; | ||||
| } | } | ||||
| .btn-bottom-right { | .btn-bottom-right { |