-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
30 lines (30 loc) · 887 Bytes
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ui <- tagList(
# add meta tags
tags$head(
meta() %>%
meta_general(
application_name = "Surveys for R discord channel",
description = "Questionnaires for users of discoRd channel built with Shiny.",
generator = "R-Shiny"
) %>%
meta_tag(name = "keywords",
content = "R programming langauge, discord channel, Shiny App, shiny.quetzio, Shiny questionnaire, Shiny survey")
),
# use Waiter for loading screen
useWaiter(),
shinyjs::useShinyjs(),
waiterPreloader(
fadeout = 300,
color = "#d7d5d5"
),
# create a navbar page. Tabs defined in tabs.R
navbarPage(
title = "discoRd surveys",
id = "navbar_main",
tabPanel("discoRd-survey",
discoRd_survey_tab),
tabPanel("get-togetheR-survey",
togetheR_survey_tab),
theme = "navbar.css",
header = header_tab
))