mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 12:37:30 +02:00
feat: new nice landing page
This commit is contained in:
parent
ed74e0492c
commit
f4d4499547
11 changed files with 434 additions and 13 deletions
30
R/footer_ui.R
Normal file
30
R/footer_ui.R
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
footer_ui <- function(i18n) {
|
||||
tagList(
|
||||
shiny::tags$footer(
|
||||
style = "background-color: #14131326; padding: 4px; text-align: center; bottom: 0; width: 100%;",
|
||||
shiny::p(
|
||||
style = "margin: 1",
|
||||
i18n$t("Data is only stored for analyses and deleted when the app is closed.")
|
||||
),
|
||||
shiny::p(
|
||||
style = "margin: 1",
|
||||
i18n$t("Run the FreesearchR app locally when working with sensitive data."), shiny::tags$a(i18n$t("(Read more)"), href = "https://agdamsbo.github.io/FreesearchR/#run-locally-on-your-own-machine", target = "_blank", rel = "noopener noreferrer")
|
||||
),
|
||||
# shiny::p(
|
||||
# style = "margin: 1; color: #888;",
|
||||
div(
|
||||
style = "display: inline-flex; align-items: center; gap: 1px;",
|
||||
shiny::tags$a(i18n$t("Documentation"), href = "https://agdamsbo.github.io/FreesearchR/", target = "_blank", rel = "noopener noreferrer"), " | ", div(
|
||||
style = "display: inline-block;",
|
||||
class = c("smart-dropdown", "text-select"),
|
||||
shiny::uiOutput(outputId = "language_select")
|
||||
), " | ", shiny::tags$a(i18n$t("Feedback"), href = "https://redcap.au.dk/surveys/?s=JPCLPTXYDKFA8DA8", target = "_blank", rel = "noopener noreferrer")
|
||||
),
|
||||
br(),
|
||||
p(
|
||||
style = "display: inline-flex; align-items: center; gap: 1px;",
|
||||
hosted_version(), " | ", shiny::tags$a(i18n$t("License: AGPLv3"), href = "https://github.com/agdamsbo/FreesearchR/blob/main/LICENSE.md", target = "_blank", rel = "noopener noreferrer"), " | ", shiny::tags$a(i18n$t("Source"), href = "https://github.com/agdamsbo/FreesearchR/", target = "_blank", rel = "noopener noreferrer"),
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue